I can make this change only after releasing 0.28 - if I make the change earlier than that publish heroku etc will break because they will install the latest release of Datasette which will not understand the -i option.
This is a one-line fix: replace this:
|
quoted_files = " ".join(map(shlex.quote, file_names)) |
With this: (need to do it for other publishers too though)
quoted_files = " ".join(
["-i {}".format(shlex.quote(file_name)) for file_name in file_names]
)
I can make this change only after releasing 0.28 - if I make the change earlier than that
publish herokuetc will break because they will install the latest release of Datasette which will not understand the-ioption.This is a one-line fix: replace this:
datasette/datasette/utils.py
Line 489 in 2ad9d15
With this: (need to do it for other publishers too though)