Pārlūkot izejas kodu

Fix CURL

microtasks
tech234a pirms 3 gadiem
vecāks
revīzija
c2187c0d19
1 mainītis faili ar 1 papildinājumiem un 1 dzēšanām
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Parādīt failu

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


Notiek ielāde…
Atcelt
Saglabāt