From d069c3bbf33c1c28b2055f7941333ffff2a69e8d Mon Sep 17 00:00:00 2001 From: mungai-njoroge Date: Sun, 26 Nov 2023 20:15:24 +0300 Subject: [PATCH] fix late start --- app/lib/artistlib.py | 1 - manage.py | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) diff --git a/app/lib/artistlib.py b/app/lib/artistlib.py index f0c02673..4cf01e96 100644 --- a/app/lib/artistlib.py +++ b/app/lib/artistlib.py @@ -35,7 +35,6 @@ def get_artist_image_link(artist: str): try: data = response.json() except requests.exceptions.JSONDecodeError: - print(f"Failed to decode json for {artist}") return None for res in data["data"]: diff --git a/manage.py b/manage.py index 8885c2be..749685aa 100644 --- a/manage.py +++ b/manage.py @@ -85,6 +85,7 @@ def start_watchdog(): WatchDog().run() +@background def run_swingmusic(): Keys.load() HandleArgs()