Skip to content

Commit e28761c

Browse files
MicheleCarboneraMicheleCarbonera
authored andcommitted
Show audio volume and save it
1 parent df0883f commit e28761c

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

main.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,6 +59,8 @@
5959
app.prog = None
6060
app.shutdown_requested = False
6161

62+
63+
6264
## New API and web application
6365

6466
# API v2 is defined in v2.yml and its methods are in api.py
@@ -155,6 +157,7 @@ def handle_config():
155157
"""
156158
Overwrite configuration file on disk and reload it
157159
"""
160+
print(request.form)
158161
Config.write(updateDict(app.bot_config, request.form))
159162
app.bot_config = Config.get()
160163
return "ok"

0 commit comments

Comments
 (0)