mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
service.exclude: check options.exclude is not empty
This commit is contained in:
parent
f5eb3c8749
commit
bbbd779282
@ -51,6 +51,7 @@ class Service(object):
|
|||||||
pass
|
pass
|
||||||
|
|
||||||
def exclude(self, options):
|
def exclude(self, options):
|
||||||
|
if options.exclude:
|
||||||
for i in options.exclude:
|
for i in options.exclude:
|
||||||
if i in options.output:
|
if i in options.output:
|
||||||
return True
|
return True
|
||||||
|
Loading…
Reference in New Issue
Block a user