mirror of
https://gitlab.com/scemama/EZFIO.git
synced 2024-12-22 12:23:34 +01:00
Corrected bug when options have an '='
This commit is contained in:
parent
bb8975215d
commit
57b63c1306
@ -38,7 +38,7 @@ def read_make_config():
|
|||||||
with open("make.config",'r') as f:
|
with open("make.config",'r') as f:
|
||||||
for line in f.readlines():
|
for line in f.readlines():
|
||||||
try:
|
try:
|
||||||
key, value = line.strip().split('=')
|
key, value = line.strip().split('=',1)
|
||||||
except:
|
except:
|
||||||
print "Error in make.config:"
|
print "Error in make.config:"
|
||||||
print line
|
print line
|
||||||
|
Loading…
Reference in New Issue
Block a user