Skip to content

Commit 6c24410

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

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

tcod/sdl/joystick.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -357,7 +357,7 @@ def _get_instance_ids() -> list[int]:
357357
init()
358358
count = ffi.new("int*")
359359
joysticks_p = _check_p(ffi.gc(lib.SDL_GetJoysticks(count), lib.SDL_free)) # SDL_JoystickID array
360-
return [int(i) for i in joysticks_p[0:count[0]]]
360+
return [int(i) for i in joysticks_p[0 : count[0]]]
361361

362362

363363
def get_joysticks() -> list[Joystick]:

0 commit comments

Comments
 (0)