Wrap strings in quotes
This commit is contained in:
parent
051ec0c1a4
commit
aa55d75547
@ -71,6 +71,10 @@ class FontTreeStoreBuilder:
|
||||
self.add_dict(parent, key, value)
|
||||
return
|
||||
|
||||
if isinstance(value, basestring):
|
||||
item = self.ts.append(parent, [key, '"'+value+'"'])
|
||||
return
|
||||
|
||||
# Everything else
|
||||
item = self.ts.append(parent, [key, value])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user