@@ -819,10 +819,11 @@ class TinyDocTemplate(platypus.BaseDocTemplate):
|
||||
|
||||
class _rml_template(object):
|
||||
def __init__(self, localcontext, out, node, doc, images={}, path='.', title=None):
|
||||
if not localcontext:
|
||||
localcontext={'header':'internal'}
|
||||
if not localcontext.get('header',True):
|
||||
localcontext.update({'header':'internal'})
|
||||
self.localcontext = localcontext
|
||||
if not self.localcontext or not self.localcontext.get('header',False):
|
||||
self.localcontext={}
|
||||
self.localcontext.update({'header':'internal'})
|
||||
self.images= images
|
||||
self.path = path
|
||||
self.title = title
|
||||
|
||||
Reference in New Issue
Block a user