mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-05 17:43:37 +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
|
||||
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
|
||||
|
|
Loading…
Reference in a new issue