mirror of
https://github.com/clinton-hall/nzbToMedia.git
synced 2025-08-19 21:03:14 -07:00
Clean up.
This commit is contained in:
parent
162d428dc0
commit
3cdaa39de6
1 changed files with 1 additions and 2 deletions
|
@ -73,11 +73,10 @@ class autoProcessTV:
|
||||||
remote_path = nzbtomedia.CFG[section][inputCategory]["remote_path"]
|
remote_path = nzbtomedia.CFG[section][inputCategory]["remote_path"]
|
||||||
except:
|
except:
|
||||||
remote_path = None
|
remote_path = None
|
||||||
|
|
||||||
try:
|
try:
|
||||||
wait_for = int(nzbtomedia.CFG[section][inputCategory]["wait_for"])
|
wait_for = int(nzbtomedia.CFG[section][inputCategory]["wait_for"])
|
||||||
except:
|
except:
|
||||||
wait_for = 2
|
wait_for = 2
|
||||||
|
|
||||||
if not os.path.isdir(dirName) and os.path.isfile(dirName): # If the input directory is a file, assume single file download and split dir/name.
|
if not os.path.isdir(dirName) and os.path.isfile(dirName): # If the input directory is a file, assume single file download and split dir/name.
|
||||||
dirName = os.path.split(os.path.normpath(dirName))[0]
|
dirName = os.path.split(os.path.normpath(dirName))[0]
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue