harderner config importer
This commit is contained in:
parent
622e12b9c5
commit
fcf212d715
@ -108,8 +108,12 @@ class settingsManager():
|
|||||||
if not ":===:" in line:
|
if not ":===:" in line:
|
||||||
continue
|
continue
|
||||||
sepLine = line.split(':===:')
|
sepLine = line.split(':===:')
|
||||||
if len(sepLine) != 2:
|
if len(sepLine) == 1:
|
||||||
sepLine.append('')
|
sepLine.append('')
|
||||||
|
elif len(sepLine) < 1:
|
||||||
|
continue
|
||||||
|
elif len(sepLine) > 2:
|
||||||
|
sepLine[1] = ':===:'
|
||||||
self.env['punctuation'][currDictName][sepLine[0]] = sepLine[1]
|
self.env['punctuation'][currDictName][sepLine[0]] = sepLine[1]
|
||||||
self.env['runtime']['debug'].writeDebugOut("Punctuation: " + currDictName + '.' + str(sepLine[0]) + ' :' + sepLine[1] ,debug.debugLevel.INFO)
|
self.env['runtime']['debug'].writeDebugOut("Punctuation: " + currDictName + '.' + str(sepLine[0]) + ' :' + sepLine[1] ,debug.debugLevel.INFO)
|
||||||
dictConfig.close()
|
dictConfig.close()
|
||||||
|
Loading…
Reference in New Issue
Block a user