Skip to content

Commit d54bebf

Browse files
[pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
1 parent 962785b commit d54bebf

1 file changed

Lines changed: 1 addition & 3 deletions

File tree

tcod/sdl/joystick.py

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -375,9 +375,7 @@ def get_controllers() -> list[GameController]:
375375
376376
This ignores joysticks without a game controller mapping.
377377
"""
378-
return [
379-
GameController._open(instance_id) for instance_id in _get_instance_ids() if lib.SDL_IsGamepad(instance_id)
380-
]
378+
return [GameController._open(instance_id) for instance_id in _get_instance_ids() if lib.SDL_IsGamepad(instance_id)]
381379

382380

383381
def _get_all() -> list[Joystick | GameController]:

0 commit comments

Comments
 (0)