some ruff format
This commit is contained in:
parent
8f41f41455
commit
0b269d74d0
2 changed files with 2 additions and 3 deletions
|
@ -1,6 +1,7 @@
|
|||
import inputs as _inputs
|
||||
import threading as _threading
|
||||
|
||||
|
||||
class gamepad:
|
||||
def __init__(self, pygame):
|
||||
self._lasty = ""
|
||||
|
|
|
@ -36,9 +36,7 @@ def save(surf, dest):
|
|||
|
||||
def toBytes(surf):
|
||||
return bz2.compress(
|
||||
pickle.dumps(
|
||||
[pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)]
|
||||
)
|
||||
pickle.dumps([pygame.image.tostring(surf._grp(), "RGBA"), list(surf.size)])
|
||||
)
|
||||
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue