tech234a před 3 roky
rodič
revize
5090908f79
1 změnil soubory, kde provedl 5 přidání a 2 odebrání
  1. +5
    -2
      worker.py

+ 5
- 2
worker.py Zobrazit soubor

@@ -140,8 +140,11 @@ while not gkiller.kill_now:
batchcontent.append(tracker.request_item_from_tracker())

for desit in batchcontent:
if desit.split(":", 1)[0] == "video":
jobs.put(desit)
if desit:
if desit.split(":", 1)[0] == "video":
jobs.put(desit)
else:
print("Ignoring item for now", desit)
else:
print("Ignoring item for now", desit)



Načítá se…
Zrušit
Uložit