mirror of
https://github.com/Dvorinka/swingmusic-extended.git
synced 2026-06-04 20:43:04 +00:00
fix: artist albums always sending all albums
+ move setproctitle inside if __name__ in manage.py
This commit is contained in:
@@ -78,17 +78,16 @@ def start_watchdog():
|
||||
WatchDog().run()
|
||||
|
||||
|
||||
setproctitle.setproctitle(
|
||||
f"swingmusic - {FLASKVARS.FLASK_HOST}:{FLASKVARS.FLASK_PORT}"
|
||||
)
|
||||
|
||||
|
||||
if __name__ == "__main__":
|
||||
HandleArgs()
|
||||
log_startup_info()
|
||||
bg_run_setup()
|
||||
start_watchdog()
|
||||
|
||||
setproctitle.setproctitle(
|
||||
f"swingmusic - {FLASKVARS.FLASK_HOST}:{FLASKVARS.FLASK_PORT}"
|
||||
)
|
||||
|
||||
app.run(
|
||||
debug=False,
|
||||
threaded=True,
|
||||
|
||||
Reference in New Issue
Block a user