1
0
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:
Johan Andersson 2014-12-22 18:35:58 +01:00
parent f5eb3c8749
commit bbbd779282

View File

@ -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