mirror of
https://github.com/spaam/svtplay-dl.git
synced 2024-11-24 12:15:40 +01:00
findexpisode: don’t run the second section for .srt files
this fixes: #199
This commit is contained in:
parent
6e144ab45d
commit
f144bfb21f
@ -159,7 +159,7 @@ def findexpisode(directory, service, name):
|
|||||||
if extention == "srt":
|
if extention == "srt":
|
||||||
if name.find(service) and match.group(1) == videoid and match.group(2) == extention:
|
if name.find(service) and match.group(1) == videoid and match.group(2) == extention:
|
||||||
return True
|
return True
|
||||||
else:
|
elif match.group(2) != "srt":
|
||||||
if name.find(service) and match.group(1) == videoid:
|
if name.find(service) and match.group(1) == videoid:
|
||||||
return True
|
return True
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user