fix: SyntaxError: f-string: unmatched '[' Radiquum/furaffinity-dl#8 for python 3.10

This commit is contained in:
Kentai Radiquum 2024-11-16 03:03:26 +05:00
parent 8921fd52d7
commit eed5ffd2a2
Signed by: Radiquum
GPG key ID: 858E8EE696525EED

View file

@ -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}"