Skip to content

Commit

Permalink
bugfix only process if responding
Browse files Browse the repository at this point in the history
  • Loading branch information
shivanker committed Jan 31, 2025
1 parent b686c27 commit 59cadca
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion session.py
Original file line number Diff line number Diff line change
Expand Up @@ -281,7 +281,8 @@ def process_command(self, text, say=lambda text: None):
self.streaming_mode = False
say(text="Streaming mode disabled.")
elif cmd.startswith("\\extract "):
say(text=extract(cmd[8:].strip()))
if say:
say(text=extract(cmd[8:].strip()))
elif cmd == "\\help":
say(
f"""
Expand Down

0 comments on commit 59cadca

Please sign in to comment.