From d6c1c8cbf7d6fc8099b4b78c20a0136fca68e25f Mon Sep 17 00:00:00 2001 From: AeroSD <155030468+AeroSD24@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:20:00 +0100 Subject: [PATCH] Update main.py --- main.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/main.py b/main.py index f53dadd..3be1803 100644 --- a/main.py +++ b/main.py @@ -104,7 +104,7 @@ def update_heading(event, is_right_click=False): rounded_heading = round(heading / 5) * 5 if rounded_heading == 0: rounded_heading = 360 - heading_label.config(text="Heading: {}".format(int(rounded_heading))) + heading_label.config(text=f"Heading: {int(rounded_heading):03d}") canvas.coords(current_line, start_x, start_y, mouse_x, mouse_y) update_discord_presence(rounded_heading) except Exception as e: @@ -316,4 +316,4 @@ def on_close(): root.mainloop() if discord_rpc_enabled.get() and rpc_connected: - rpc.close() \ No newline at end of file + rpc.close()