Skip to content

Commit

Permalink
Update recorder.py
Browse files Browse the repository at this point in the history
fix value
  • Loading branch information
MKO1640 authored Jul 23, 2021
1 parent e6551fa commit ebe3318
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions saraswati/recorder.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,7 @@ def add_channel(self, name: str, source: str):

muxer = None
encoder = None
if self.settings.container_format == "None":
if self.settings.container_format == "none":
if self.settings.audio_format == "flac":
muxer = "flacenc"
encoder = ""
Expand Down Expand Up @@ -313,7 +313,7 @@ def on_format_location_real(self, splitmux, fragment_id, user_data):
suffix = "mka"
elif self.settings.container_format == "ogg":
suffix = "ogg"
elif self.settings.container_format == "None":
elif self.settings.container_format == "none":
if self.settings.audio_format == "wav":
suffix = "wav"
elif self.settings.audio_format == "flac":
Expand Down

0 comments on commit ebe3318

Please sign in to comment.