fix: [submit] fix UI submit

pull/594/head
Terrtia 2023-04-04 15:25:59 +02:00
parent 94a4aeebb1
commit 427a6fbfa1
No known key found for this signature in database
GPG Key ID: 1E1B1F50D84613D0
1 changed files with 1 additions and 1 deletions

View File

@ -111,7 +111,7 @@ class SubmitPaste(AbstractModule):
try: try:
uuid = self.r_serv_db.srandmember('submitted:uuid') uuid = self.r_serv_db.srandmember('submitted:uuid')
if isinstance(uuid, list): if isinstance(uuid, list):
return uuid[0] uuid = uuid[0]
# Module processing with the message from the queue # Module processing with the message from the queue
self.redis_logger.debug(uuid) self.redis_logger.debug(uuid)
self.compute(uuid) self.compute(uuid)