summaryrefslogtreecommitdiff
path: root/tidal_dl_ng/api.py
diff options
context:
space:
mode:
authorRobert Honz <exislow+github@gmail.com>2024-01-12 10:51:30 +0100
committerRobert Honz <exislow+github@gmail.com>2024-01-12 10:51:30 +0100
commit3fddfe18a61ddfe9d2c1b6fd2fd82f2f3fe2fd28 (patch)
tree5f2674985c877d6752d64ee12bbd55c78679ea37 /tidal_dl_ng/api.py
parent819621324753265fcc8ac274a306978227b41813 (diff)
downloadtidal-dl-ng-3fddfe18a61ddfe9d2c1b6fd2fd82f2f3fe2fd28.tar.gz
🛠️ Black reformatting.
Diffstat (limited to 'tidal_dl_ng/api.py')
-rw-r--r--tidal_dl_ng/api.py5
1 files changed, 3 insertions, 2 deletions
diff --git a/tidal_dl_ng/api.py b/tidal_dl_ng/api.py
index 20a2ace..e601a6d 100644
--- a/tidal_dl_ng/api.py
+++ b/tidal_dl_ng/api.py
@@ -96,8 +96,9 @@ def getVersion():
# Load from gist
try:
- respond = requests.get("https://api.github.com/gists/48d01f5a24b4b7b37f19443977c22cd6",
- timeout=REQUESTS_TIMEOUT_SEC)
+ respond = requests.get(
+ "https://api.github.com/gists/48d01f5a24b4b7b37f19443977c22cd6", timeout=REQUESTS_TIMEOUT_SEC
+ )
if respond.status_code == 200:
content = respond.json()["files"]["tidal-api-key.json"]["content"]
__API_KEYS__ = json.loads(content)