fix: typing issue

This commit is contained in:
Benex254
2024-10-02 22:19:02 +03:00
parent 0c623af8a4
commit ef6a465bd2
2 changed files with 5 additions and 5 deletions

View File

@@ -330,6 +330,7 @@ def get_fzf_anime_preview(
"""
# ensure images and info exists
from ...constants import S_PLATFORM
background_worker = Thread(
target=write_search_results, args=(anilist_results, titles)
)
@@ -354,10 +355,10 @@ def get_fzf_anime_preview(
fi
""" % (
fzf_preview,
IMAGES_CACHE_DIR.replace("\\","\\\\\\"),
IMAGES_CACHE_DIR.replace("\\","\\\\\\"),
ANIME_INFO_CACHE_DIR.replace("\\","\\\\\\"),
ANIME_INFO_CACHE_DIR.replace("\\","\\\\\\"),
IMAGES_CACHE_DIR.replace("\\", "\\\\\\"),
IMAGES_CACHE_DIR.replace("\\", "\\\\\\"),
ANIME_INFO_CACHE_DIR.replace("\\", "\\\\\\"),
ANIME_INFO_CACHE_DIR.replace("\\", "\\\\\\"),
)
else:
preview = """

View File

@@ -121,7 +121,6 @@ class MpvPlayer(object):
# get them juicy streams
episode_streams = anime_provider.get_episode_streams(
provider_anime["id"],
provider_anime["title"],
current_episode_number,
translation_type,
)