diff options
author | Louis Vézina <[email protected]> | 2018-10-16 21:55:30 -0400 |
---|---|---|
committer | Louis Vézina <[email protected]> | 2018-10-16 21:55:30 -0400 |
commit | 376ee719fbc0a98c1208871c256280960fb76142 (patch) | |
tree | d378a47961b95ceb2308ee6d859003aac6d93cb7 /bazarr.py | |
parent | e124e1c3fd90052b0f2a069ca5f776418b4ac68d (diff) | |
download | bazarr-376ee719fbc0a98c1208871c256280960fb76142.tar.gz bazarr-376ee719fbc0a98c1208871c256280960fb76142.zip |
Fix for arguments not passed correctly to child process.
Diffstat (limited to 'bazarr.py')
-rw-r--r-- | bazarr.py | 5 |
1 files changed, 3 insertions, 2 deletions
@@ -16,6 +16,9 @@ except getopt.GetoptError: sys.exit(2) for opt, arg in opts: arguments.append(opt) + if arg != '': + arguments.append(arg) + if opt == '-h': print 'bazarr.py -h --no-update --config <config_directory>' sys.exit() @@ -23,8 +26,6 @@ for opt, arg in opts: no_update = True elif opt in ("--config"): config_dir = arg - elif arg != '': - arguments.append(arg) dir_name = os.path.dirname(__file__) |