[vlc-commits] Fix string substitution syntax

Jean Brouwers git at videolan.org
Fri Jun 8 09:31:42 CEST 2012


vlc/python | branch: master | Jean Brouwers <MrJean1 at Gmail.com> | Fri Jun  8 09:17:57 2012 +0200| [e9c51918cc9fd4b0f06d270a9bff504bc7bdd741] | committer: Olivier Aubert

Fix string substitution syntax

Signed-off-by: Olivier Aubert <olivier.aubert at liris.cnrs.fr>

> 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"""



More information about the vlc-commits mailing list