diff --git a/src/Config.py b/src/Config.py index da4b9cea..7771f6e2 100644 --- a/src/Config.py +++ b/src/Config.py @@ -422,7 +422,7 @@ class Config(object): key = section + "_" + key 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") del argv[pos:pos + 2]