forked from openlp/openlp
fix pep8
This commit is contained in:
parent
0c7fe8d97c
commit
31f6779d3f
|
@ -33,7 +33,7 @@ import time
|
||||||
from PyQt5 import QtWidgets, QtGui
|
from PyQt5 import QtWidgets, QtGui
|
||||||
|
|
||||||
from openlp.core.common import ThemeLevel
|
from openlp.core.common import ThemeLevel
|
||||||
from openlp.core.common.i18n import UiStrings, translate
|
from openlp.core.common.i18n import translate
|
||||||
from openlp.core.common.mixins import LogMixin, RegistryProperties
|
from openlp.core.common.mixins import LogMixin, RegistryProperties
|
||||||
from openlp.core.common.registry import Registry, RegistryBase
|
from openlp.core.common.registry import Registry, RegistryBase
|
||||||
from openlp.core.common.settings import Settings
|
from openlp.core.common.settings import Settings
|
||||||
|
|
|
@ -64,7 +64,7 @@ def get_vlc():
|
||||||
# Import the VLC module if not already done
|
# Import the VLC module if not already done
|
||||||
if 'vlc' not in sys.modules:
|
if 'vlc' not in sys.modules:
|
||||||
try:
|
try:
|
||||||
import vlc
|
import vlc # noqa module is not used directly, but is used via sys.modules['vlc']
|
||||||
except ImportError:
|
except ImportError:
|
||||||
return None
|
return None
|
||||||
# Verify that VLC is also loadable
|
# Verify that VLC is also loadable
|
||||||
|
|
Loading…
Reference in New Issue