mirror of
https://github.com/Febbweiss/mopidy-touchscreen.git
synced 2026-03-04 22:25:39 +00:00
flake8: Fix warnings
One warning was left unresolved, to not conflict with PR #3.
This commit is contained in:
@@ -87,7 +87,8 @@ class ListView():
|
||||
self.move_to(direction)
|
||||
else:
|
||||
return int(key)
|
||||
elif touch_event.type == InputManager.key and self.selected is not None:
|
||||
elif (touch_event.type == InputManager.key and
|
||||
self.selected is not None):
|
||||
if touch_event.direction == InputManager.enter:
|
||||
if self.selected is not None:
|
||||
return self.selected
|
||||
|
||||
Reference in New Issue
Block a user