mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-20 21:33:13 -07:00
fix watch_dir handling. Fixes #420
This commit is contained in:
parent
04f056a437
commit
05c90ccbdf
1 changed files with 2 additions and 0 deletions
|
@ -487,6 +487,8 @@ def getDirs(section, subsection):
|
|||
watch_dir = os.path.join(nzbtomedia.CFG[section][subsection]["watch_dir"], subsection)
|
||||
if os.path.exists(watch_dir):
|
||||
to_return.extend(processDir(watch_dir))
|
||||
elif os.path.exists(nzbtomedia.CFG[section][subsection]["watch_dir"]):
|
||||
to_return.extend(processDir(nzbtomedia.CFG[section][subsection]["watch_dir"]))
|
||||
except:pass
|
||||
|
||||
try:
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue