From f05f65ea61b4c6f6c77267cfb783ec7a8a5b4bc4 Mon Sep 17 00:00:00 2001 From: Georg Date: Mon, 24 Jan 2022 04:13:26 +0000 Subject: [PATCH] Set maxsplit in configuration parser (#34) Signed-off-by: Georg Pfuetzenreuter --- pbincli/cli.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pbincli/cli.py b/pbincli/cli.py index 1961a88..62b9b43 100755 --- a/pbincli/cli.py +++ b/pbincli/cli.py @@ -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.")