Fix bug in Conf file parser
This commit is contained in:
parent
1e440d4523
commit
46b7c38d59
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue