shithub: aubio

Download patch

ref: c290245cb2f1a18fdd353c2067732b38202d2e16
parent: b37e2b25b069bbae28d06e0d328145ae508c0fbf
author: Paul Brossier <piem@piem.org>
date: Wed May 10 06:30:09 EDT 2017

python/lib/aubio/cmd.py: improve error message

--- a/python/lib/aubio/cmd.py
+++ b/python/lib/aubio/cmd.py
@@ -187,7 +187,7 @@
     elif mode == 'samples':
         return samples2samples
     else:
-        raise ValueError('invalid time format %s' % mode)
+        raise ValueError("invalid time format '%s'" % mode)
 
 # definition of processing classes