From 395e679de50cf1557c0f9fd4a769acac5857844a Mon Sep 17 00:00:00 2001 From: Daniel Dayley Date: Mon, 1 May 2023 10:22:37 -0600 Subject: [PATCH] Removed some cruft code --- persona/persona.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/persona/persona.py b/persona/persona.py index b000585..766ab08 100644 --- a/persona/persona.py +++ b/persona/persona.py @@ -132,7 +132,6 @@ class Persona : if response : self.log.info(f'Responding to \'{message.text}\' with \'{response.text}\'') self.outbound_messages.put(response) - # self.outbound_messages += generated_messages def send_new_message(self) : """Process new messages generated asynchronously by plugins.""" @@ -141,6 +140,5 @@ class Persona : response = skill.generate() if response : self.log.info(f'Generating async message \'{response.text}\'') - generated_messages.append(response) self.outbound_messages.put(response) time.sleep(1)