Explorar el Código

Fix CURL

microtasks
tech234a hace 3 años
padre
commit
c2187c0d19
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Ver fichero

@@ -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:


Cargando…
Cancelar
Guardar