Skip to content

Commit

Permalink
VoctowebClient: set translated flag for recordings
Browse files Browse the repository at this point in the history
  • Loading branch information
Kunsi committed Jan 23, 2025
1 parent 272682c commit 268ba04
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions voctopublish/api_client/voctoweb_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -582,6 +582,7 @@ def create_recording(
"filename": filename,
"mime_type": self.t.mime_type,
"language": language,
"translated": bool(self.t.language_index), # this is either None or int. 0 is the original language
**recording,
},
}
Expand Down

0 comments on commit 268ba04

Please sign in to comment.