fix pep8.5

This commit is contained in:
Tim Bentley 2019-03-27 19:21:11 +00:00
parent ae2109e509
commit 0a2de8e606
2 changed files with 3 additions and 5 deletions

View File

@ -211,8 +211,8 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
# Generic controls
controller.mediabar.setVisible(value)
# if controller.is_live and controller.display:
# if self.current_media_players and value:
# controller.display.set_transparency(False)
# if self.current_media_players and value:
# controller.display.set_transparency(False)
@staticmethod
def resize(display, player):
@ -434,7 +434,7 @@ class MediaController(RegistryBase, LogMixin, RegistryProperties):
else:
self.media_volume(controller, controller.media_info.volume)
if first_time:
#if not controller.media_info.is_background:
# if not controller.media_info.is_background:
# display.frame.runJavaScript('show_blank("desktop");')
self.current_media_players[controller.controller_type].set_visible(display, True)
controller.mediabar.actions['playbackPlay'].setVisible(False)

View File

@ -24,8 +24,6 @@ The Media plugin
"""
import logging
from PyQt5 import QtCore
from openlp.core.state import State
from openlp.core.api.http import register_endpoint
from openlp.core.common.i18n import translate