develop
asamoukin 15 years ago
parent 8090b3b689
commit 757224f6e3

@ -2292,7 +2292,7 @@ class profile(_file, _terms,xmlShare):
FD = open(fileName)
replace = FD.read().strip()
FD.close
if terms[0] in ["ver","num"]:
if not replace and terms[0] in ["ver","num"]:
replace = "0"
textProfileTmp = textProfileTmp[:resS.start()] + replace +\
textProfileTmp[resS.end():]

Loading…
Cancel
Save