Fix bug getValue from config.

develop
Mike Hiretsky 14 years ago committed by Самоукин Алексей
parent 9e87227802
commit d94eea43d5

Binary file not shown.

@ -390,7 +390,7 @@ class varsShare:
config config file name
name param name
"""
reMatch = re.compile("^%s\s*=\s*\"?(.*?)\"?$"%name, re.I)
reMatch = re.compile("^%s\s*=\s*\"?(.*?)(\"\s*)?$"%name, re.I)
try:
if path.exists(config):
for line in open(config,"r").readlines():

Loading…
Cancel
Save