forked from openlp/openlp
fixed LooseVersion usage
This commit is contained in:
parent
9668b22f85
commit
f6177c62b2
@ -57,7 +57,7 @@ if VLC_AVAILABLE:
|
||||
version = vlc.libvlc_get_version()
|
||||
except:
|
||||
version = u'0.0.0'
|
||||
if LooseVersion(version) < '1.1.0':
|
||||
if LooseVersion(version) < LooseVersion('1.1.0'):
|
||||
VLC_AVAILABLE = False
|
||||
log.debug(u'VLC could not be loaded: %s' % version)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user