fixed LooseVersion usage

This commit is contained in:
Andreas Preikschat 2012-04-28 18:22:37 +02:00
parent 9668b22f85
commit f6177c62b2

View File

@ -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)