Skip to content

Commit 025692b

Browse files
committed
630 Import Adapt to Python 2
1 parent 480e1b8 commit 025692b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

pymycobot/mercurychassisocket.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ def send_command(self, command, data=None):
3939

4040
if self.debug:
4141
current_time = time.strftime("%Y-%m-%d %H:%M:%S", time.localtime())
42-
print(f"[{current_time}] Sent command: {command}, Data: {data}")
42+
print("[{}] Sent command: {}, Data: {}".format(current_time, command, data))
4343
except Exception as e:
4444
print("Error sending command:", str(traceback.format_exc()))
4545

0 commit comments

Comments
 (0)