fix #11 separator
This commit is contained in:
parent
c47ce10eba
commit
ecf253ca44
|
@ -236,6 +236,7 @@ class Refine:
|
||||||
# POST is broken at the moment, so we send it in the URL
|
# POST is broken at the moment, so we send it in the URL
|
||||||
new_style_options = dict(opts, **{
|
new_style_options = dict(opts, **{
|
||||||
'encoding': s(encoding),
|
'encoding': s(encoding),
|
||||||
|
'separator': s(separator)
|
||||||
})
|
})
|
||||||
params = {
|
params = {
|
||||||
'options': json.dumps(new_style_options),
|
'options': json.dumps(new_style_options),
|
||||||
|
@ -244,7 +245,6 @@ class Refine:
|
||||||
# old style options
|
# old style options
|
||||||
options = {
|
options = {
|
||||||
'format': project_format,
|
'format': project_format,
|
||||||
'separator': s(separator),
|
|
||||||
'ignore-lines': s(ignore_lines),
|
'ignore-lines': s(ignore_lines),
|
||||||
'header-lines': s(header_lines),
|
'header-lines': s(header_lines),
|
||||||
'skip-data-lines': s(skip_data_lines),
|
'skip-data-lines': s(skip_data_lines),
|
||||||
|
@ -253,7 +253,7 @@ class Refine:
|
||||||
'process-quotes': s(process_quotes),
|
'process-quotes': s(process_quotes),
|
||||||
'store-blank-rows': s(store_blank_rows),
|
'store-blank-rows': s(store_blank_rows),
|
||||||
'store-blank-cells-as-nulls': s(store_blank_cells_as_nulls),
|
'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:
|
if project_url is not None:
|
||||||
|
|
Loading…
Reference in New Issue