Browse Source

remove unused exception variable

Signed-off-by: r4sas <r4sas@i2pmail.org>
dependabot/add-v2-config-file
R4SAS 4 years ago
parent
commit
94023a986d
Signed by: r4sas
GPG Key ID: 66F6C87B98EBCFE2
  1. 2
      pbincli/cli.py

2
pbincli/cli.py

@ -18,7 +18,7 @@ def read_config(filename): @@ -18,7 +18,7 @@ def read_config(filename):
try:
key, value = l.strip().split("=")
settings[key.strip()] = value.strip()
except ValueError as pe:
except ValueError:
PBinCLIError("Unable to parse config file, please check it for errors.")
return settings

Loading…
Cancel
Save