diff --git a/bin/modules/submit_paste.py b/bin/modules/submit_paste.py index 412e4b82..c1e13b34 100755 --- a/bin/modules/submit_paste.py +++ b/bin/modules/submit_paste.py @@ -111,7 +111,7 @@ class SubmitPaste(AbstractModule): try: uuid = self.r_serv_db.srandmember('submitted:uuid') if isinstance(uuid, list): - return uuid[0] + uuid = uuid[0] # Module processing with the message from the queue self.redis_logger.debug(uuid) self.compute(uuid)