mirror of
https://github.com/zoriya/Kyoo.git
synced 2025-07-09 03:04:20 -04:00
Fix format
This commit is contained in:
parent
42d2b8009c
commit
042cc018cb
@ -89,9 +89,13 @@ class Scanner:
|
|||||||
del raw["season"]
|
del raw["season"]
|
||||||
|
|
||||||
if isinstance(raw.get("season"), List):
|
if isinstance(raw.get("season"), List):
|
||||||
raise ProviderError(f"An episode can't have multiple seasons (found {raw.get("season")} for {path})")
|
raise ProviderError(
|
||||||
|
f"An episode can't have multiple seasons (found {raw.get("season")} for {path})"
|
||||||
|
)
|
||||||
if isinstance(raw.get("episode"), List):
|
if isinstance(raw.get("episode"), List):
|
||||||
raise ProviderError(f"Multi-episodes files are not yet supported (for {path})")
|
raise ProviderError(
|
||||||
|
f"Multi-episodes files are not yet supported (for {path})"
|
||||||
|
)
|
||||||
|
|
||||||
logging.info("Identied %s: %s", path, raw)
|
logging.info("Identied %s: %s", path, raw)
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user