From b53418b53fc75f6659a87e8efa6266a373d6b434 Mon Sep 17 00:00:00 2001 From: ville rantanen Date: Mon, 2 Jul 2018 20:49:48 +0300 Subject: [PATCH] quote for filenames --- code/templates/client.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/templates/client.py b/code/templates/client.py index b8955ab..dab818c 100644 --- a/code/templates/client.py +++ b/code/templates/client.py @@ -253,7 +253,7 @@ def run_loop(opts): def upload_file(file, opts): print("Upload "+file) p = Popen( - "curl -s %s%s/%s/%s | python -u - -s %d %s"%( + "curl -s %s%s/%s/%s | python -u - -s %d '%s'"%( opts.rooturl, "script/upload_split", opts.share,