Merge branch 'py3' of https://github.com/HelloZeroNet/ZeroNet into py3
This commit is contained in:
commit
1d7e0c47dd
1 changed files with 1 additions and 1 deletions
|
@ -422,7 +422,7 @@ class Config(object):
|
||||||
key = section + "_" + key
|
key = section + "_" + key
|
||||||
|
|
||||||
if key == "open_browser": # Prefer config file value over cli argument
|
if key == "open_browser": # Prefer config file value over cli argument
|
||||||
if "--%s" % key in argv:
|
while "--%s" % key in argv:
|
||||||
pos = argv.index("--open_browser")
|
pos = argv.index("--open_browser")
|
||||||
del argv[pos:pos + 2]
|
del argv[pos:pos + 2]
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue