Skip to content

Commit 1642920

Browse files
authored
Fix on_error docstring in README (#52)
1 parent 2f88238 commit 1642920

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -613,7 +613,7 @@ def on_data(transcript: aai.RealtimeTranscript):
613613
print(transcript.text, end="\r")
614614

615615
def on_error(error: aai.RealtimeError):
616-
"This function is called when the connection has been closed."
616+
"This function is called when an error occurs."
617617

618618
print("An error occured:", error)
619619

0 commit comments

Comments
 (0)