mirror of
https://github.com/moparisthebest/SickRage
synced 2025-03-04 18:39:39 -05:00
Fixing UnboundLocalError when attempting to process nonexisting dir
This commit is contained in:
parent
2da18e65ca
commit
44d45ca760
@ -397,6 +397,7 @@ def delete_dir(processPath):
|
|||||||
|
|
||||||
|
|
||||||
def get_path_dir_files(dirName, nzbName, type):
|
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
|
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
|
#Get at first all the subdir in the dirName
|
||||||
|
Loading…
x
Reference in New Issue
Block a user