diff --git a/worker.py b/worker.py index 55866a6..1a2e5f3 100644 --- a/worker.py +++ b/worker.py @@ -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)