Browse Source

NZB paths on the command line should be made absolute before being sent to the running instance.

tags/0.6.2 0.6.2
ShyPike 14 years ago
parent
commit
6b0580c3fd
  1. 2
      SABnzbd.py

2
SABnzbd.py

@ -778,7 +778,7 @@ def commandline_handler(frozen=True):
# Get and remove any NZB file names # Get and remove any NZB file names
for entry in args: for entry in args:
if get_ext(entry) in ('.nzb', '.zip','.rar', '.gz'): if get_ext(entry) in ('.nzb', '.zip','.rar', '.gz'):
upload_nzbs.append(entry) upload_nzbs.append(os.path.abspath(entry))
for opt, arg in opts: for opt, arg in opts:
if opt in ('password','username','startup','perfmonini', 'perfmondll', 'interactive', 'wait'): if opt in ('password','username','startup','perfmonini', 'perfmondll', 'interactive', 'wait'):

Loading…
Cancel
Save