Parcourir la source

Little things: Fix a typo bug

Graham Northup il y a 10 ans
Parent
commit
f1824fd539
1 fichiers modifiés avec 1 ajouts et 1 suppressions
  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