mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-05-24 02:02:36 -04:00
Fix type issue
This commit is contained in:
parent
e612869027
commit
346750931d
@ -506,7 +506,7 @@ class TheMovieDatabase(Provider):
|
||||
params={
|
||||
"language": lng,
|
||||
},
|
||||
not_found_fail=f"Could not find episode {episode_nbr} of season {season} of serie {name} (absolute: {absolute})",
|
||||
not_found_fail=f"Could not find episode {episode_nbr} of season {season} of serie {name} (absolute: {absolute})",
|
||||
)
|
||||
logging.debug("TMDb responded: %s", episode)
|
||||
|
||||
|
@ -59,9 +59,7 @@ class Provider:
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
async def identify_season(
|
||||
self, show_id: str, season_number: Optional[int]
|
||||
) -> Season:
|
||||
async def identify_season(self, show_id: str, season_number: int) -> Season:
|
||||
raise NotImplementedError
|
||||
|
||||
@abstractmethod
|
||||
|
Loading…
x
Reference in New Issue
Block a user