Permalink
Browse files

remove not mandatory exception catching

  • Loading branch information...
sdpython committed Apr 19, 2018
1 parent d3ac261 commit ec46cbb0297131e4a8dfb8adc70280ed780685d2
Showing with 0 additions and 3 deletions.
  1. +0 −3 src/code_beatrix/art/video.py
@@ -149,9 +149,6 @@ def audio_save(audio_or_file, filename, verbose=False, **kwargs):
if verbose:
audio.write_audiofile(filename, verbose=verbose, **kwargs)
else:
if not hasattr(audio_or_file, 'fps'):
raise AttributeError(
"audio_or_file does not have attribute fps")
f = io.StringIO()
with redirect_stdout(f):
with redirect_stderr(f):

0 comments on commit ec46cbb

Please sign in to comment.