From 51f4f88de0fff9b8e55f0c559153cc15ec089e91 Mon Sep 17 00:00:00 2001 From: Ryu1845 Date: Wed, 23 Feb 2022 16:49:44 +0100 Subject: [PATCH] fix unset variable --- twspace_dl/__main__.py | 1 + 1 file changed, 1 insertion(+) diff --git a/twspace_dl/__main__.py b/twspace_dl/__main__.py index cc04ad4..054ef5a 100644 --- a/twspace_dl/__main__.py +++ b/twspace_dl/__main__.py @@ -131,6 +131,7 @@ def space(args: argparse.Namespace) -> None: logging.basicConfig(level=logging.DEBUG if args.verbose else logging.INFO) + auth_token = "" if has_login: if args.input_cookie_file: if args.username and args.password and is_expired(args.input_cookie_file):