From 4594fcefbd259531fc73a1c4310f18f290e0dd2d Mon Sep 17 00:00:00 2001 From: Tomas Groth Date: Fri, 22 Jan 2016 22:33:20 +0100 Subject: [PATCH] pep fixes --- openlp/core/ui/maindisplay.py | 4 ++-- openlp/core/ui/slidecontroller.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/openlp/core/ui/maindisplay.py b/openlp/core/ui/maindisplay.py index f27adec1b..a16c7c6c0 100644 --- a/openlp/core/ui/maindisplay.py +++ b/openlp/core/ui/maindisplay.py @@ -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()) diff --git a/openlp/core/ui/slidecontroller.py b/openlp/core/ui/slidecontroller.py index c1c291580..bed5d07c4 100644 --- a/openlp/core/ui/slidecontroller.py +++ b/openlp/core/ui/slidecontroller.py @@ -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