瀏覽代碼

Fix CURL

microtasks
tech234a 3 年之前
父節點
當前提交
c2187c0d19
共有 1 個檔案被更改,包括 1 行新增1 行删除
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py 查看文件

@@ -297,7 +297,7 @@ while not gkiller.kill_now:
elif targetloc.startswith("http"):
for filzip in listdir("directory"):
if filzip.endswith(".zip"):
system("curl --data-binary @directory/"+filzip+" "+targetloc)
system("curl -F "+filzip+"=@directory/"+filzip+" "+targetloc)

# Report the batch as complete
for itemb in batchcontent:


Loading…
取消
儲存