Fix bug in Conf file parser

This commit is contained in:
rubenwardy 2018-05-14 15:04:02 +01:00
parent 1e440d4523
commit 46b7c38d59
No known key found for this signature in database
GPG Key ID: A1E29D52FF81513C
1 changed files with 1 additions and 1 deletions

View File

@ -114,7 +114,7 @@ def parseConf(string):
for line in string.split("\n"):
idx = line.find("=")
if idx > 0:
key = line[:idx-1].strip()
key = line[:idx].strip()
value = line[idx+1:].strip()
retval[key] = value