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:
parent
f5eb3c8749
commit
bbbd779282
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user