Bläddra i källkod

Small adjustment

microtasks
tech234a 3 år sedan
förälder
incheckning
98f96792ed
1 ändrade filer med 1 tillägg och 1 borttagningar
  1. +1
    -1
      worker.py

+ 1
- 1
worker.py Visa fil

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


Laddar…
Avbryt
Spara