Clean up.

This commit is contained in:
Clinton Hall 2014-05-07 22:06:26 +09:30
commit 3cdaa39de6

View file

@ -73,11 +73,10 @@ class autoProcessTV:
remote_path = nzbtomedia.CFG[section][inputCategory]["remote_path"]
except:
remote_path = None
try:
wait_for = int(nzbtomedia.CFG[section][inputCategory]["wait_for"])
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.
dirName = os.path.split(os.path.normpath(dirName))[0]