pep fixes

This commit is contained in:
Tomas Groth 2016-01-22 22:33:20 +01:00
parent 4bef5f72f2
commit 4594fcefbd
2 changed files with 3 additions and 3 deletions

View File

@ -555,9 +555,9 @@ class MainDisplay(OpenLPMixin, Display, RegistryProperties):
def shake_web_view(self):
"""
Resizes the web_view a bit to force an update. Workaround for bug #1531319, should not be needed with PyQt 5.6.
Resizes the web_view a bit to force an update. Workaround for bug #1531319, should not be needed with PyQt 5.6.
"""
self.web_view.setGeometry(0, 0, self.width(), self.height()-1)
self.web_view.setGeometry(0, 0, self.width(), self.height() - 1)
self.web_view.setGeometry(0, 0, self.width(), self.height())

View File

@ -1101,7 +1101,7 @@ class SlideController(DisplayController, RegistryProperties):
self.display.image(to_display)
# reset the store used to display first image
self.service_item.bg_image_bytes = None
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
# Workaround for bug #1531319, should not be needed with PyQt 5.6.
if self.is_live and is_win():
self.display.shake_web_view()
self.selected_row = row