Skip to content

Commit

Permalink
Merge pull request #187 from jsichi/preserve-server-error
Browse files Browse the repository at this point in the history
Don't clear server_error flag on close.
  • Loading branch information
makaveli10 committed Mar 22, 2024
2 parents 8d77f0f + fe16406 commit d24c531
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion whisper_live/client.py
Original file line number Diff line number Diff line change
Expand Up @@ -174,7 +174,6 @@ def on_error(self, ws, error):
def on_close(self, ws, close_status_code, close_msg):
print(f"[INFO]: Websocket connection closed: {close_status_code}: {close_msg}")
self.recording = False
self.server_error = False
self.waiting = False

def on_open(self, ws):
Expand Down

0 comments on commit d24c531

Please sign in to comment.