fix syntax
This commit is contained in:
parent
9464d6c970
commit
c186314ac4
@ -120,7 +120,7 @@ class attributeManager():
|
|||||||
except Exception as e:
|
except Exception as e:
|
||||||
return False
|
return False
|
||||||
return True
|
return True
|
||||||
def formatAttributes(self, attribute, attributeFormatString = None):
|
def formatAttributes(self, attribute, attributeFormatString = ''):
|
||||||
# "black",
|
# "black",
|
||||||
# "red",
|
# "red",
|
||||||
# "green",
|
# "green",
|
||||||
@ -141,7 +141,7 @@ class attributeManager():
|
|||||||
# "blink"
|
# "blink"
|
||||||
# "fontsieze"
|
# "fontsieze"
|
||||||
# "fontfamily"
|
# "fontfamily"
|
||||||
if not attributeFormatString:
|
if attributeFormatString == '':
|
||||||
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
|
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
|
||||||
if not attributeFormatString:
|
if not attributeFormatString:
|
||||||
return ''
|
return ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user