From 42c0d7f9f638905d0831dd66532f097efd10fd43 Mon Sep 17 00:00:00 2001 From: echel0n Date: Thu, 17 Jul 2014 23:45:48 -0700 Subject: [PATCH] Testing fix for incorrectly cached results that may cause PP issues. --- sickbeard/processTV.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/sickbeard/processTV.py b/sickbeard/processTV.py index f81a585f..4beefa71 100644 --- a/sickbeard/processTV.py +++ b/sickbeard/processTV.py @@ -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