mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-05 06:35:43 +00:00
Fix flake8
This commit is contained in:
@@ -70,7 +70,8 @@ class TouchScreen(pykka.ThreadingActor, core.CoreListener):
|
|||||||
else:
|
else:
|
||||||
self.screen = pygame.display.set_mode(size, pygame.RESIZABLE)
|
self.screen = pygame.display.set_mode(size, pygame.RESIZABLE)
|
||||||
except Exception:
|
except Exception:
|
||||||
raise exceptions.FrontendError("Error on display init:\n" + traceback.format_exc())
|
raise exceptions.FrontendError("Error on display init:\n"
|
||||||
|
+ traceback.format_exc())
|
||||||
|
|
||||||
def start_thread(self):
|
def start_thread(self):
|
||||||
clock = pygame.time.Clock()
|
clock = pygame.time.Clock()
|
||||||
|
|||||||
Reference in New Issue
Block a user