raise exception

This commit is contained in:
2025-12-26 20:04:31 +01:00
parent b40d96f5ce
commit 7cff1a89a7
+1 -1
View File
@@ -71,7 +71,7 @@ class PlaylistParser:
if seen is None: seen = set()
if not path.exists():
self.logger.error(f"Playlist not found: {path.name}")
return []
raise Exception("Playlist doesn't exist")
lines = [line.strip() for line in path.read_text().splitlines() if line.strip()]
out = []