forked from openlp/openlp
fix pep8.5
This commit is contained in:
parent
ae2109e509
commit
0a2de8e606
@ -211,8 +211,8 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
|
|||||||
# Generic controls
|
# Generic controls
|
||||||
controller.mediabar.setVisible(value)
|
controller.mediabar.setVisible(value)
|
||||||
# if controller.is_live and controller.display:
|
# if controller.is_live and controller.display:
|
||||||
# if self.current_media_players and value:
|
# if self.current_media_players and value:
|
||||||
# controller.display.set_transparency(False)
|
# controller.display.set_transparency(False)
|
||||||
|
|
||||||
@staticmethod
|
@staticmethod
|
||||||
def resize(display, player):
|
def resize(display, player):
|
||||||
@ -434,7 +434,7 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
|
|||||||
else:
|
else:
|
||||||
self.media_volume(controller, controller.media_info.volume)
|
self.media_volume(controller, controller.media_info.volume)
|
||||||
if first_time:
|
if first_time:
|
||||||
#if not controller.media_info.is_background:
|
# if not controller.media_info.is_background:
|
||||||
# display.frame.runJavaScript('show_blank("desktop");')
|
# display.frame.runJavaScript('show_blank("desktop");')
|
||||||
self.current_media_players[controller.controller_type].set_visible(display, True)
|
self.current_media_players[controller.controller_type].set_visible(display, True)
|
||||||
controller.mediabar.actions['playbackPlay'].setVisible(False)
|
controller.mediabar.actions['playbackPlay'].setVisible(False)
|
||||||
|
@ -24,8 +24,6 @@ The Media plugin
|
|||||||
"""
|
"""
|
||||||
import logging
|
import logging
|
||||||
|
|
||||||
from PyQt5 import QtCore
|
|
||||||
|
|
||||||
from openlp.core.state import State
|
from openlp.core.state import State
|
||||||
from openlp.core.api.http import register_endpoint
|
from openlp.core.api.http import register_endpoint
|
||||||
from openlp.core.common.i18n import translate
|
from openlp.core.common.i18n import translate
|
||||||
|
Loading…
Reference in New Issue
Block a user