fix syntax

This commit is contained in:
chrys 2018-05-30 23:44:54 +02:00
parent 9464d6c970
commit c186314ac4

View File

@ -120,7 +120,7 @@ class attributeManager():
except Exception as e:
return False
return True
def formatAttributes(self, attribute, attributeFormatString = None):
def formatAttributes(self, attribute, attributeFormatString = ''):
# "black",
# "red",
# "green",
@ -141,7 +141,7 @@ class attributeManager():
# "blink"
# "fontsieze"
# "fontfamily"
if not attributeFormatString:
if attributeFormatString == '':
attributeFormatString = self.env['runtime']['settingsManager'].getSetting('general', 'attributeFormatString')
if not attributeFormatString:
return ''