From 130905a0ae2a26765b8451191519b7fccb229eb6 Mon Sep 17 00:00:00 2001 From: Auto format Date: Sat, 12 Mar 2022 14:51:06 +0000 Subject: [PATCH] Formatted using isort and black --- twspace_dl/twitter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/twspace_dl/twitter.py b/twspace_dl/twitter.py index 5e1be61..5b721de 100644 --- a/twspace_dl/twitter.py +++ b/twspace_dl/twitter.py @@ -15,7 +15,7 @@ def guest_token() -> str: response = requests.post( "https://api.twitter.com/1.1/guest/activate.json", headers=headers ).json() - token = response['guest_token'] + token = response["guest_token"] if not token: raise RuntimeError("No guest token found after five retry") return token