vlc/python | branch: master | Olivier Aubert <[email protected]> | Mon Sep 10 16:38:53 2012 +0200| [a49fddd784d2e3fc40e62a5c033e08a220687b1e] | committer: Olivier Aubert
python bindings: getch() returns a string, there is no decode() method > http://git.videolan.org/gitweb.cgi/vlc/python.git/?a=commit;h=a49fddd784d2e3fc40e62a5c033e08a220687b1e --- footer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/footer.py b/footer.py index f150993..d294265 100644 --- a/footer.py +++ b/footer.py @@ -225,7 +225,7 @@ if __name__ == '__main__': print('Press q to quit, ? to get help.%s' % os.linesep) while True: - k = getch().decode('utf8') # Python 3+ + k = getch() print('> %s' % k) if k in keybindings: keybindings[k]() _______________________________________________ vlc-commits mailing list [email protected] http://mailman.videolan.org/listinfo/vlc-commits
