From a333c011a3c059422de0ab54024cc2aecf1914ed Mon Sep 17 00:00:00 2001 From: Ryu1845 Date: Sat, 12 Mar 2022 15:47:43 +0100 Subject: [PATCH] test auto format --- 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 5b721de..5e1be61 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