Browse Source

Set maxsplit in configuration parser (#34)

Signed-off-by: Georg Pfuetzenreuter <mail@georg-pfuetzenreuter.net>
gha
Georg 2 years ago committed by GitHub
parent
commit
f05f65ea61
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 2
      pbincli/cli.py

2
pbincli/cli.py

@ -23,7 +23,7 @@ def read_config(filename): @@ -23,7 +23,7 @@ def read_config(filename):
if len(l.strip()) == 0:
continue
try:
key, value = l.strip().split("=")
key, value = l.strip().split("=", 1)
settings[key.strip()] = value.strip()
except ValueError:
PBinCLIError("Unable to parse config file, please check it for errors.")

Loading…
Cancel
Save