Fix format

This commit is contained in:
Zoe Roux
2024-02-02 18:38:46 +01:00
parent 42d2b8009c
commit 042cc018cb
+6 -2
View File
@@ -89,9 +89,13 @@ class Scanner:
del raw["season"]
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):
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)