Skip to content

Commit be68bd6

Browse files
Change get to return default value
Co-authored-by: Dumitru Gutu <dumitrugutu@users.noreply.github.com>
1 parent 68777d1 commit be68bd6

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

speechmatics/cli.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -590,7 +590,7 @@ def transcript_handler(message):
590590
transcripts.text += plaintext
591591

592592
def get_channel(message):
593-
return message.get("channel", None)
593+
return message.get("channel")
594594

595595
def audio_event_handler(message):
596596
if print_json:

0 commit comments

Comments
 (0)