Commit 47d095af authored by 孙 楠's avatar 孙 楠

typo

parent b9f379c1
......@@ -113,7 +113,7 @@ def parse_config(name):
for line in config_file:
name, var = line.partition("=")[::2]
value = var.strip()
value = var.strip("\"")
value = value.strip("\"")
value = value.strip("\'")
myvars[name.strip()] = value
return myvars
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment