From eed5ffd2a215a5ee640d16ca33d8db797cdfca67 Mon Sep 17 00:00:00 2001 From: Kentai Radiquum Date: Sat, 16 Nov 2024 03:03:26 +0500 Subject: [PATCH] fix: SyntaxError: f-string: unmatched '[' Radiquum/furaffinity-dl#8 for python 3.10 --- Modules/functions.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Modules/functions.py b/Modules/functions.py index 3434583..ff094ad 100644 --- a/Modules/functions.py +++ b/Modules/functions.py @@ -141,7 +141,7 @@ def next_button(page_url): if config.category != "favorites": page_num = parse_next_button.parent.attrs["action"].split("/")[-2] else: - page_num = f"{parse_next_button.parent.attrs["action"].split("/")[-2]}/next" + page_num = f"{parse_next_button.parent.attrs['action'].split('/')[-2]}/next" print( f"Downloading page {page_num}"