summaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
authorMatthias Geier <Matthias.Geier@gmail.com>2016-03-13 12:16:03 +0100
committerMatthias Geier <Matthias.Geier@gmail.com>2016-03-13 12:16:03 +0100
commit70652e158dbd1f7dbccfc6fd90e80d38ac88f95c (patch)
treee75398157fd480df15264321a21b291bb9b5daf3 /examples
parent814581a40808ff00759b53be69cdecacc0269d28 (diff)
DOC: Add flush=True to a few examples
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/spectrogram.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/examples/spectrogram.py b/examples/spectrogram.py
index 00f3c88..b4fbba4 100755
--- a/examples/spectrogram.py
+++ b/examples/spectrogram.py
@@ -85,7 +85,7 @@ try:
args.gain /= 2
else:
print('\x1b[31;40m', usage_line.center(args.columns, '#'),
- '\x1b[0m', sep='')
+ '\x1b[0m', sep='', flush=True)
break
if statuses:
logging.warning(str(statuses))