Skip to content

Commit a0c5bce

Browse files
committed
code: GNU
1 parent 23a72c0 commit a0c5bce

File tree

4 files changed

+6
-2
lines changed

4 files changed

+6
-2
lines changed

pyproject.toml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@ dynamic = ["version"]
44
dependencies = [
55
"Flask",
66
"Frozen-Flask",
7+
"flask-clacks",
78
"unidecode",
89
"markdown2",
910
]

requirements.txt

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,5 @@
11
Flask[async]
2+
flask-clacks
23
Frozen-Flask
34
unidecode
45
markdown2

requirements_full.txt

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -11,4 +11,5 @@ markdown2
1111
rapidfuzz
1212
unidecode
1313
emoji
14-
svg2tikz
14+
svg2tikz
15+
flask-clacks

songbook/src/flask/flask_app.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
from flask import Flask, render_template, make_response, send_file, url_for
2-
2+
from flask_clacks import Clacks
33
from ..obj.Config import config
44
from ..obj.Songbook import Songbook
55
from ..obj.Song import Song
@@ -14,6 +14,7 @@
1414
except TypeError:
1515
port = 5000
1616
app = Flask(__name__)
17+
Clacks(app)
1718

1819
SECRET_KEY = os.urandom(32)
1920
app.config['SECRET_KEY'] = SECRET_KEY

0 commit comments

Comments
 (0)