Commit ef42f40f authored by Guillaume Bury's avatar Guillaume Bury

-- can be ommited in file config

parent 54db7632
......@@ -7,7 +7,7 @@ import db, plib, upnpigd, utils, tunnel
class ArgParser(ArgumentParser):
def convert_arg_line_to_args(self, arg_line):
for arg in ('--' + arg_line.strip()).split():
for arg in ('--' + arg_line.lstrip('--')).split():
if arg.strip():
yield arg
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment