From 4b76db7ad7c2b3398e90306ea86654dabb56c040 Mon Sep 17 00:00:00 2001 From: Andreas Preikschat Date: Wed, 3 Apr 2013 12:54:11 +0200 Subject: [PATCH] convert bytes to str --- openlp/core/ui/media/vlcplayer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openlp/core/ui/media/vlcplayer.py b/openlp/core/ui/media/vlcplayer.py index 28966fc23..8c943dc82 100644 --- a/openlp/core/ui/media/vlcplayer.py +++ b/openlp/core/ui/media/vlcplayer.py @@ -58,7 +58,7 @@ except OSError, e: if VLC_AVAILABLE: try: - VERSION = vlc.libvlc_get_version() + VERSION = vlc.libvlc_get_version().decode('UTF-8') except: VERSION = u'0.0.0' # LooseVersion does not work when a string contains letter and digits (e. g. 2.0.5 Twoflower).