some ruff format

This commit is contained in:
MeexReay 2025-09-20 17:53:40 +03:00
parent 8f41f41455
commit 0b269d74d0
2 changed files with 2 additions and 3 deletions

View file

@ -1,6 +1,7 @@
import inputs as _inputs import inputs as _inputs
import threading as _threading import threading as _threading
class gamepad: class gamepad:
def __init__(self, pygame): def __init__(self, pygame):
self._lasty = "" self._lasty = ""

View file

@ -36,9 +36,7 @@ def save(surf, dest):
def toBytes(surf): def toBytes(surf):
return bz2.compress( return bz2.compress(
pickle.dumps( pickle.dumps([pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)])
[pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)]
)
) )