mirror of
https://github.com/SickGear/SickGear.git
synced 2025-01-22 01:23:43 +00:00
Fixing UnboundLocalError when attempting to process nonexisting dir
This commit is contained in:
parent
2da18e65ca
commit
44d45ca760
1 changed files with 1 additions and 0 deletions
|
@ -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…
Reference in a new issue