mirror of
https://github.com/Benexl/FastAnime.git
synced 2026-01-04 00:37:04 -08:00
fix: wrong code formating
This commit is contained in:
@@ -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")
|
||||
|
||||
@@ -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:
|
||||
|
||||
@@ -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"])
|
||||
|
||||
Reference in New Issue
Block a user