fix #11 separator

This commit is contained in:
Felix Lohmeier 2020-08-07 18:20:31 +02:00
parent c47ce10eba
commit ecf253ca44
1 changed files with 2 additions and 2 deletions

View File

@ -236,6 +236,7 @@ class Refine:
# POST is broken at the moment, so we send it in the URL
new_style_options = dict(opts, **{
'encoding': s(encoding),
'separator': s(separator)
})
params = {
'options': json.dumps(new_style_options),
@ -244,7 +245,6 @@ class Refine:
# old style options
options = {
'format': project_format,
'separator': s(separator),
'ignore-lines': s(ignore_lines),
'header-lines': s(header_lines),
'skip-data-lines': s(skip_data_lines),
@ -253,7 +253,7 @@ class Refine:
'process-quotes': s(process_quotes),
'store-blank-rows': s(store_blank_rows),
'store-blank-cells-as-nulls': s(store_blank_cells_as_nulls),
'include-file-sources': s(include_file_sources),
'include-file-sources': s(include_file_sources)
}
if project_url is not None: