From 427a6fbfa1621590028ed908e0c8f6ca03e49b70 Mon Sep 17 00:00:00 2001 From: Terrtia Date: Tue, 4 Apr 2023 15:25:59 +0200 Subject: [PATCH] fix: [submit] fix UI submit --- bin/modules/submit_paste.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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)