mirror of
https://github.com/opencultureconsulting/openrefine-client.git
synced 2025-02-16 00:00:07 +01:00
templating export format should always be txt
This commit is contained in:
parent
777d73997c
commit
be439c986b
@ -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,
|
||||
|
Loading…
x
Reference in New Issue
Block a user