+5
-1
@@ -699,7 +699,11 @@ class function(_column):
|
||||
if self._type == "integer":
|
||||
for r in res.keys():
|
||||
# Converting value into string so that it does not affect XML-RPC Limits
|
||||
res[r] = str(res[r])
|
||||
if isinstance(res[r],dict): # To treat integer values with _multi attribute
|
||||
for record in res[r].keys():
|
||||
res[r][record] = str(res[r][record])
|
||||
else:
|
||||
res[r] = str(res[r])
|
||||
return res
|
||||
get_memory = get
|
||||
|
||||
|
||||
@@ -636,9 +636,9 @@ class _rml_flowable(object):
|
||||
styles = reportlab.lib.styles.getSampleStyleSheet()
|
||||
style = styles['Title']
|
||||
return platypus.Paragraph(self._textual(node), style, **(utils.attr_get(node, [], {'bulletText':'str'})))
|
||||
elif re.match('^h([1-9]+[0-9]*)$', (node.text or '')):
|
||||
elif re.match('^h([1-9]+[0-9]*)$', (node.tag or '')):
|
||||
styles = reportlab.lib.styles.getSampleStyleSheet()
|
||||
style = styles['Heading'+str(node.get[1:])]
|
||||
style = styles['Heading'+str(node.tag[1:])]
|
||||
return platypus.Paragraph(self._textual(node), style, **(utils.attr_get(node, [], {'bulletText':'str'})))
|
||||
elif node.tag=='image':
|
||||
if not node.get('file'):
|
||||
|
||||
Reference in New Issue
Block a user