templating export format should always be txt
This commit is contained in:
parent
777d73997c
commit
be439c986b
|
@ -347,11 +347,11 @@ class RefineProject:
|
||||||
export_format)
|
export_format)
|
||||||
return self.do_raw(url, data={'format': export_format})
|
return self.do_raw(url, data={'format': export_format})
|
||||||
|
|
||||||
def export_templating(self, export_format='txt', engine='', prefix='',
|
def export_templating(self, engine='', prefix='',
|
||||||
template='', rowSeparator='', suffix=''):
|
template='', rowSeparator='\n', suffix=''):
|
||||||
"""Return a fileobject of a project's data in templating mode."""
|
"""Return a fileobject of a project's data in templating mode."""
|
||||||
url = ('export-rows/' + urllib.quote(self.project_name()) + '.' +
|
url = ('export-rows/' + urllib.quote(self.project_name()) + '.' +
|
||||||
export_format)
|
'txt')
|
||||||
return self.do_raw(url, data={'format': 'template',
|
return self.do_raw(url, data={'format': 'template',
|
||||||
'template': template,
|
'template': template,
|
||||||
'engine': engine,
|
'engine': engine,
|
||||||
|
|
Loading…
Reference in New Issue