1
0
mirror of https://github.com/moparisthebest/SickRage synced 2024-08-13 16:53:54 -04:00

Testing fix for incorrectly cached results that may cause PP issues.

This commit is contained in:
echel0n 2014-07-17 23:45:48 -07:00
parent 4470735437
commit 42c0d7f9f6

View File

@ -267,14 +267,14 @@ def validateDir(path, dirName, nzbNameOriginal, failed):
#check if the dir have at least one tv video file
for video in videoFiles:
try:
NameParser().parse(video)
NameParser().parse(video, cache_result=False)
return True
except (InvalidNameException, InvalidShowException):
pass
for dir in allDirs:
try:
NameParser().parse(dir)
NameParser().parse(dir, cache_result=False)
return True
except (InvalidNameException, InvalidShowException):
pass
@ -285,7 +285,7 @@ def validateDir(path, dirName, nzbNameOriginal, failed):
for packed in packedFiles:
try:
NameParser().parse(packed)
NameParser().parse(packed, cache_result=False)
return True
except (InvalidNameException, InvalidShowException):
pass