Fixing UnboundLocalError when attempting to process nonexisting dir

This commit is contained in:
Nils Vogels 2014-06-02 01:39:55 +02:00
parent 2da18e65ca
commit 44d45ca760
1 changed files with 1 additions and 0 deletions

View File

@ -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