diff --git a/sickbeard/processTV.py b/sickbeard/processTV.py index b722109f..ba4ccd09 100644 --- a/sickbeard/processTV.py +++ b/sickbeard/processTV.py @@ -397,6 +397,7 @@ def delete_dir(processPath): def get_path_dir_files(dirName, nzbName, type): + path = "" if dirName == sickbeard.TV_DOWNLOAD_DIR and not nzbName or type == "manual": #Scheduled Post Processing Active #Get at first all the subdir in the dirName