This commit is contained in:
shortcutme 2019-08-12 17:58:28 +02:00
commit 1d7e0c47dd
No known key found for this signature in database
GPG key ID: 5B63BAE6CB9613AE

View file

@ -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]