Skip to content
Snippets Groups Projects
Commit 14931dcb authored by Remi  PLANEL's avatar Remi PLANEL
Browse files

quote api key

parent a1957ca3
No related branches found
No related tags found
1 merge request!231System distribution plot edit article
Pipeline #127318 waiting for manual action with stages
in 7 minutes and 31 seconds
......@@ -139,5 +139,5 @@ def get_env_var(
api_key = [res.key for res in keys.results if res.name == "Default Search API Key"]
if len(api_key) == 1:
with open(output, "a") as outfile:
outfile.write(f"MEILI_HOST={ctx.obj.host}\n")
outfile.write(f"MEILI_API_KEY={api_key[0]}\n")
outfile.write(f"MEILI_HOST='{ctx.obj.host}'\n")
outfile.write(f"MEILI_API_KEY='{api_key[0]}'\n")
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment