mirror of
https://github.com/romanz/amodem.git
synced 2026-03-17 07:05:59 +08:00
recv: fix pylint warning
This commit is contained in:
@@ -220,7 +220,7 @@ def main(config, src, dst, dump_audio=None, pylab=None):
|
||||
sampler = sampling.Sampler(signal, sampling.Interpolator(), freq=freq)
|
||||
receiver.run(sampler, gain=1.0/amplitude, output=dst)
|
||||
return True
|
||||
except Exception:
|
||||
except BaseException:
|
||||
log.exception('Decoding failed')
|
||||
return False
|
||||
finally:
|
||||
|
||||
Reference in New Issue
Block a user