fix: [submit] fix UI submit

This commit is contained in:
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

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)