mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-27 21:54:17 +01:00
exclude: convert the filename to a string
This commit is contained in:
parent
dcf0e6fa70
commit
6c172284a8
@ -57,6 +57,6 @@ def exclude(config, name):
|
||||
if config.get("exclude"):
|
||||
excludes = config.get("exclude").split(",")
|
||||
for exclude in excludes:
|
||||
if exclude in name:
|
||||
if exclude in str(name.name):
|
||||
return True
|
||||
return False
|
||||
|
Loading…
Reference in New Issue
Block a user