1
0
mirror of https://github.com/spaam/svtplay-dl.git synced 2024-11-27 21:54:17 +01:00

service.exclude: check options.exclude is not empty

This commit is contained in:
Johan Andersson 2014-12-22 18:35:58 +01:00
parent f5eb3c8749
commit bbbd779282

View File

@ -51,9 +51,10 @@ class Service(object):
pass pass
def exclude(self, options): def exclude(self, options):
for i in options.exclude: if options.exclude:
if i in options.output: for i in options.exclude:
return True if i in options.output:
return True
return False return False
# the options parameter is unused, but is part of the # the options parameter is unused, but is part of the