forked from openlp/openlp
convert bytes to str
This commit is contained in:
parent
a6d966d1d2
commit
4b76db7ad7
@ -58,7 +58,7 @@ except OSError, e:
|
|||||||
|
|
||||||
if VLC_AVAILABLE:
|
if VLC_AVAILABLE:
|
||||||
try:
|
try:
|
||||||
VERSION = vlc.libvlc_get_version()
|
VERSION = vlc.libvlc_get_version().decode('UTF-8')
|
||||||
except:
|
except:
|
||||||
VERSION = u'0.0.0'
|
VERSION = u'0.0.0'
|
||||||
# LooseVersion does not work when a string contains letter and digits (e. g. 2.0.5 Twoflower).
|
# LooseVersion does not work when a string contains letter and digits (e. g. 2.0.5 Twoflower).
|
||||||
|
Loading…
Reference in New Issue
Block a user