|
|
|
@ -3019,6 +3019,9 @@ or 'lower' or 'capitalize'"))
|
|
|
|
|
self.currDictIni.update(self.prevDictIni)
|
|
|
|
|
self.timeIni = self.getTimeFile(self.fileConfigIni)
|
|
|
|
|
if nameLocVar in self.currDictIni.keys():
|
|
|
|
|
if self.currDictIni[nameLocVar] is None:
|
|
|
|
|
replace = ""
|
|
|
|
|
else:
|
|
|
|
|
replace = self.currDictIni[nameLocVar].encode("UTF-8")
|
|
|
|
|
elif len(terms) == 2:
|
|
|
|
|
if self.timeIni != curTime:
|
|
|
|
@ -3047,6 +3050,8 @@ or 'lower' or 'capitalize'"))
|
|
|
|
|
self.timeIni = self.getTimeFile(self.fileConfigIni)
|
|
|
|
|
if nameLocVar in self.currDictIni.keys():
|
|
|
|
|
unicodeValue = self.currDictIni[nameLocVar]
|
|
|
|
|
if unicodeValue is None:
|
|
|
|
|
unicodeValue = ""
|
|
|
|
|
if terms[2] in ('url', 'purl'):
|
|
|
|
|
replace = unicodeValue.encode("UTF-8").\
|
|
|
|
|
__repr__()[1:-1].replace('\\x','%').\
|
|
|
|
|