ref: 15c3466808374dd402d6cc179350742cdac37ce9
parent: 35f7e0597087fa0a196036925b0773fc39dd14ce
author: Paul Brossier <piem@piem.org>
date: Tue Nov 20 17:46:19 EST 2018
[py] fix % escaping in py-source.c
--- a/python/ext/py-source.c
+++ b/python/ext/py-source.c
@@ -155,7 +155,7 @@
"... for samples in source:\n"
"... n_frames += len(samples)\n"
"... print('read', n_frames, 'samples in', samples.shape[0], 'channels',\n"
-"... 'from file \"\%s\"' \% source.uri)\n"
+"... 'from file \"%%s\"' %% source.uri)\n"
"...\n"
"read 239334 samples in 2 channels from file \"audiotrack.wav\"\n"
"\n"