1
0
Fork 0

Simplify send_cmd in gadgetbridge.py

Signed-off-by: Eloi Torrents <eloitor@disroot.org>
This commit is contained in:
Eloi Torrents 2023-08-25 21:21:32 +02:00 committed by Daniel Thompson
parent 92ffa7cd1c
commit 410b9da55f

View file

@ -70,7 +70,6 @@ def GB(cmd):
def send_cmd(cmd = ''):
print('\r')
for i in range(1):
for i in range(0, len(cmd), 20):
print(cmd[i: i + 20], end='')
time.sleep(0.2)