diff options
author | Anton Tananaev <anton@traccar.org> | 2023-04-19 06:29:50 -0700 |
---|---|---|
committer | Anton Tananaev <anton@traccar.org> | 2023-04-19 06:29:50 -0700 |
commit | ab801e856521356ff7a33250e1abdb8857ef84b3 (patch) | |
tree | 69033f3d4bd7c3fb6dcf00b6974b6ac56410d015 /tools/test-commands.py | |
parent | f982ed08a3d21e8eb6e9bbf4c25698ecbaad5b37 (diff) | |
download | trackermap-server-ab801e856521356ff7a33250e1abdb8857ef84b3.tar.gz trackermap-server-ab801e856521356ff7a33250e1abdb8857ef84b3.tar.bz2 trackermap-server-ab801e856521356ff7a33250e1abdb8857ef84b3.zip |
Fix group commands
Diffstat (limited to 'tools/test-commands.py')
-rwxr-xr-x | tools/test-commands.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/tools/test-commands.py b/tools/test-commands.py index 6e310051a..7efd963b4 100755 --- a/tools/test-commands.py +++ b/tools/test-commands.py @@ -6,9 +6,9 @@ import binascii s = socket.socket(socket.AF_INET, socket.SOCK_STREAM) s.connect(("localhost", 5001)) #s.send(binascii.unhexlify('68680f0504035889905831401700df1a00000d0a')) -s.send("imei:123456789012345,tracker,151030080103,,F,000101.000,A,5443.3834,N,02512.9071,E,0.00,0;") +s.send(b"imei:123456789012345,tracker,151030080103,,F,000101.000,A,5443.3834,N,02512.9071,E,0.00,0;") while True: - print s.recv(1024) + print(s.recv(1024)) s.close() |