Selaa lähdekoodia

Small adjustment

microtasks
tech234a 3 vuotta sitten
vanhempi
commit
98f96792ed
1 muutettua tiedostoa jossa 1 lisäystä ja 1 poistoa
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Näytä tiedosto

@@ -177,7 +177,7 @@ def threadrunner(jobs: Queue):

while not isfile("directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip"):
print("Attempting to zip item...")
system("zip -r directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip out/"+args.split(":", 1)[1])
system("zip -9 -r directory/"+args.split(":", 1)[1]+"/"+args.split(":", 1)[1]+".zip out/"+args.split(":", 1)[1])

#get a target
targetloc = None


Ladataan…
Peruuta
Tallenna