Skip to content

Commit

Permalink
Fix bug in audio-events CLI (#87)
Browse files Browse the repository at this point in the history
  • Loading branch information
HennerM authored Feb 22, 2024
1 parent a9e3b31 commit 759caf5
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 3 deletions.
6 changes: 6 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file.
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).

## [1.14.1] - 2024-02-21

## Fixed

- Proper flag handling for Audio Events

## [1.14.0] - 2024-02-12

### Added
Expand Down
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.14.0
1.14.1
4 changes: 2 additions & 2 deletions speechmatics/cli.py
Original file line number Diff line number Diff line change
Expand Up @@ -343,8 +343,8 @@ def get_transcription_config(
config["auto_chapters_config"] = AutoChaptersConfig()

audio_events_config = config.get("audio_events_config", None)
arg_audio_events = args.get("audio_events")
if audio_events_config or arg_audio_events is not None:
arg_audio_events = args.get("audio_events", False)
if audio_events_config is not None or arg_audio_events:
types = None
if audio_events_config and audio_events_config.get("types"):
types = audio_events_config.get("types")
Expand Down

0 comments on commit 759caf5

Please sign in to comment.