Skip to content

Commit 99e3062

Browse files
committed
fix uid stuff
1 parent 8580486 commit 99e3062

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controller_example.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ def run(self):
5151
logging.error('example error')
5252
logging.critical('example critical')
5353
if data.startswith('/uid/'):
54-
e = pygame.event.Event(E_UID, {'uid': int(data[5:])})
54+
e = pygame.event.Event(E_UID, {'uid': data[5:]})
5555
pygame.event.post(e)
5656
if DEBUG: logging.info('uid received: {}'.format(data[5:]))
5757
elif data.startswith('/download/'):

0 commit comments

Comments
 (0)