Explorar el Código

Little things: Fix a typo bug

Graham Northup hace 10 años
padre
commit
f1824fd539
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      client.py

+ 1 - 1
client.py

@@ -15,7 +15,7 @@ PORT = 13676
 STREAMS = 1
 IDENT = 'TONE'
 if len(sys.argv) > 1:
-    UID = sys.argv[1].rfill(24, '\x00')
+    UID = sys.argv[1].ljust(24, '\x00')
 else:
     UID = '\x00'*24