templating export format should always be txt

This commit is contained in:
Felix Lohmeier 2019-08-15 22:05:08 +02:00
parent 777d73997c
commit be439c986b
1 changed files with 3 additions and 3 deletions

View File

@ -347,11 +347,11 @@ class RefineProject:
export_format)
return self.do_raw(url, data={'format': export_format})
def export_templating(self, export_format='txt', engine='', prefix='',
template='', rowSeparator='', suffix=''):
def export_templating(self, engine='', prefix='',
template='', rowSeparator='\n', suffix=''):
"""Return a fileobject of a project's data in templating mode."""
url = ('export-rows/' + urllib.quote(self.project_name()) + '.' +
export_format)
'txt')
return self.do_raw(url, data={'format': 'template',
'template': template,
'engine': engine,