Skip to content

Commit

Permalink
getSoundFragments doesn't crash out of all requests if only one doesn…
Browse files Browse the repository at this point in the history
…'t have audio.
  • Loading branch information
robertfromont committed Mar 9, 2022
1 parent 0627a55 commit 2fff7dc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion labbcat/LabbcatView.py
Expand Up @@ -1329,7 +1329,7 @@ def getSoundFragments(self, transcriptIds, startOffsets=None, endOffsets=None, s
try:
fileName = self._postRequestToFile(url, params, dir)
fragments.append(fileName)
except ResponseException:
except:
fragments.append(None)

return(fragments)
Expand Down

0 comments on commit 2fff7dc

Please sign in to comment.