diff --git a/posthog/consumer.py b/posthog/consumer.py index cbb77fd1..c27da9b7 100644 --- a/posthog/consumer.py +++ b/posthog/consumer.py @@ -89,7 +89,8 @@ def upload(self): # mark items as acknowledged from queue for item in batch: self.queue.task_done() - return success + + return success def next(self): """Return the next batch of items to upload."""