From 30e080c5235922a9b784b5baba41393bb6b1dfcc Mon Sep 17 00:00:00 2001 From: Paul Brossier Date: Sat, 27 Aug 2016 10:37:26 +0200 Subject: [PATCH] python/demos/demo_source_simple.py: fix indentation --- python/demos/demo_source_simple.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/python/demos/demo_source_simple.py b/python/demos/demo_source_simple.py index e9660327..46bd8bee 100644 --- a/python/demos/demo_source_simple.py +++ b/python/demos/demo_source_simple.py @@ -7,9 +7,9 @@ s = aubio.source(sys.argv[1], samplerate, hop_size) total_frames = 0 while True: # reading loop - samples, read = s() - total_frames += read - if read < hop_size: break # end of file reached + samples, read = s() + total_frames += read + if read < hop_size: break # end of file reached fmt_string = "read {:d} frames at {:d}Hz from {:s}" print (fmt_string.format(total_frames, s.samplerate, sys.argv[1])) -- 2.11.0