summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/api.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-12 11:20:10 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-12 11:20:10 +0100
commit677bca872e31e295aeba0a14fde5b4ec81983358 (patch)
tree05f4eded45a5ba3609af0c22f2120b217190b6c2 /tidal_dl_ng/api.py
parent87091fb060ec263c1e9cfa71c086c995c85e65cc (diff)
downloadtidal-dl-ng-677bca872e31e295aeba0a14fde5b4ec81983358.tar.gz
🛠️ Ruff errors refactored.
Diffstat (limited to 'tidal_dl_ng/api.py')
-rw-r--r--tidal_dl_ng/api.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/tidal_dl_ng/api.py b/tidal_dl_ng/api.py
index e601a6d..0679c80 100644
--- a/tidal_dl_ng/api.py
+++ b/tidal_dl_ng/api.py
@@ -102,5 +102,7 @@ try:
if respond.status_code == 200:
content = respond.json()["files"]["tidal-api-key.json"]["content"]
__API_KEYS__ = json.loads(content)
-except:
+except Exception as e:
+ # TODO: Implement proper logging.
+ print(e)
pass