vlc/python | branch: master | Jean Brouwers <[email protected]> | Fri Jun 8 09:17:57 2012 +0200| [e9c51918cc9fd4b0f06d270a9bff504bc7bdd741] | committer: Olivier Aubert
Fix string substitution syntax Signed-off-by: Olivier Aubert <[email protected]> > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=e9c51918cc9fd4b0f06d270a9bff504bc7bdd741 --- footer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footer.py b/footer.py index 0ad814e..f150993 100644 --- a/footer.py +++ b/footer.py @@ -175,7 +175,7 @@ if __name__ == '__main__': print('Aspect ratio: %s' % player.video_get_aspect_ratio()) #print('Window:' % player.get_hwnd() except Exception: - print('Error: %s', sys.exc_info()[1]) + print('Error: %s' % sys.exc_info()[1]) def sec_forward(): """Go forward one sec""" _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
