fix: wrong code formating

This commit is contained in:
Benex254
2024-07-30 18:09:28 +03:00
parent 684f8c57a8
commit 2ca5985b9a
5 changed files with 9 additions and 24 deletions

View File

@@ -27,8 +27,7 @@ def login(config: Config, status):
exit_app()
# ---- new loggin -----
print(
f"A browser session will be opened ( [link]{
config.fastanime_anilist_app_login_url}[/link] )",
f"A browser session will be opened ( [link]{config.fastanime_anilist_app_login_url}[/link] )",
)
webbrowser.open(config.fastanime_anilist_app_login_url)
print("Please paste the token provided here")

View File

@@ -67,8 +67,7 @@ def notifier(config: Config):
id = notification_["media"]["id"]
if past_notifications.get(str(id)) == notification_["episode"]:
logger.info(
f"skipping id={id} title={anime_title} episode={
anime_episode} already notified"
f"skipping id={id} title={anime_title} episode={anime_episode} already notified"
)
else:

View File

@@ -508,8 +508,7 @@ def anilist_options(config, anilist_config: QueryDict):
def _remove_from_list(config: Config, anilist_config: QueryDict):
if Confirm.ask(
f"Are you sure you want to procede, the folowing action will permanently remove {
selected_anime_title} from your list and your progress will be erased",
f"Are you sure you want to procede, the folowing action will permanently remove {selected_anime_title} from your list and your progress will be erased",
default=False,
):
success, data = AniList.delete_medialist_entry(selected_anime["id"])