Merge pull request #1 from armisael/patch-1
allow for extra parameters in new_project
This commit is contained in:
commit
101a226a4f
|
@ -234,9 +234,9 @@ class Refine:
|
||||||
|
|
||||||
# the new APIs requires a json in the 'option' POST or GET argument
|
# the new APIs requires a json in the 'option' POST or GET argument
|
||||||
# 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 = {
|
new_style_options = dict(opts, **{
|
||||||
'encoding': s(encoding),
|
'encoding': s(encoding),
|
||||||
}
|
})
|
||||||
params = {
|
params = {
|
||||||
'options': json.dumps(new_style_options),
|
'options': json.dumps(new_style_options),
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue