Skip to content
Snippets Groups Projects
Commit 1c4bdfdd authored by Nicolas KAROLAK's avatar Nicolas KAROLAK
Browse files

put content url in quote to avoid arguments error

parent 58aa1849
No related branches found
No related tags found
No related merge requests found
......@@ -5,7 +5,7 @@ import json
import subprocess
import os
CONTENT = [
CONTE NT = [
"https://nextcloud.ubicast.net/s/LEcyMWG9BnKsrHX/download?path=%2FTradeshowDemoKit&files=medical_education.zip",
"https://nextcloud.ubicast.net/s/LEcyMWG9BnKsrHX/download?path=%2FTradeshowDemoKit&files=rich-media-sneak-peek.zip"
]
......@@ -18,7 +18,7 @@ def setup(interactive=True):
"ms_url": utils.get_conf('MS_SERVER_NAME'),
"ms_apikey": utils.get_conf('MS_API_KEY')
}
cmd_template = "./publish_zip_by_url.py -w https://{ms_url} -u %s -a {ms_apikey}".format(**options)
cmd_template = "./publish_zip_by_url.py -w https://{ms_url} -u '%s' -a {ms_apikey}".format(**options)
# https://192.168.43.72/api/v2/search/?search=medical
for c in CONTENT:
cmd = cmd_template % c
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment