mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-07 02:23:38 +00:00
Testing fix for incorrectly cached results that may cause PP issues.
This commit is contained in:
parent
4470735437
commit
42c0d7f9f6
1 changed files with 3 additions and 3 deletions
|
@ -267,14 +267,14 @@ def validateDir(path, dirName, nzbNameOriginal, failed):
|
||||||
#check if the dir have at least one tv video file
|
#check if the dir have at least one tv video file
|
||||||
for video in videoFiles:
|
for video in videoFiles:
|
||||||
try:
|
try:
|
||||||
NameParser().parse(video)
|
NameParser().parse(video, cache_result=False)
|
||||||
return True
|
return True
|
||||||
except (InvalidNameException, InvalidShowException):
|
except (InvalidNameException, InvalidShowException):
|
||||||
pass
|
pass
|
||||||
|
|
||||||
for dir in allDirs:
|
for dir in allDirs:
|
||||||
try:
|
try:
|
||||||
NameParser().parse(dir)
|
NameParser().parse(dir, cache_result=False)
|
||||||
return True
|
return True
|
||||||
except (InvalidNameException, InvalidShowException):
|
except (InvalidNameException, InvalidShowException):
|
||||||
pass
|
pass
|
||||||
|
@ -285,7 +285,7 @@ def validateDir(path, dirName, nzbNameOriginal, failed):
|
||||||
|
|
||||||
for packed in packedFiles:
|
for packed in packedFiles:
|
||||||
try:
|
try:
|
||||||
NameParser().parse(packed)
|
NameParser().parse(packed, cache_result=False)
|
||||||
return True
|
return True
|
||||||
except (InvalidNameException, InvalidShowException):
|
except (InvalidNameException, InvalidShowException):
|
||||||
pass
|
pass
|
||||||
|
|
Loading…
Reference in a new issue