From ac5b2a751f1710bf7e19659f8bf70e402625ecd6 Mon Sep 17 00:00:00 2001 From: awdev <165525907+awdev1@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:37:27 -0700 Subject: [PATCH 1/2] Remove decimal point --- config.json | 2 +- main.py | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/config.json b/config.json index 823347c..f276cc7 100644 --- a/config.json +++ b/config.json @@ -1 +1 @@ -{"first_run": true, "discord_rpc_enabled": false} \ No newline at end of file +{"first_run": false, "discord_rpc_enabled": false} \ No newline at end of file diff --git a/main.py b/main.py index 3be1803..5df8104 100644 --- a/main.py +++ b/main.py @@ -163,7 +163,7 @@ def create_permanent_line(event): if rounded_heading == 0: rounded_heading = 360 - heading_label.config(text="Heading: {:.2f}".format(rounded_heading)) + heading_label.config(text="Heading: {}".format(rounded_heading)) update_discord_presence(rounded_heading) except Exception as e: logging.error("Error in create_permanent_line: %s", str(e)) @@ -171,7 +171,7 @@ def create_permanent_line(event): def clear_all_lines(event): try: canvas.delete("all") - heading_label.config(text="Heading: 0.00") + heading_label.config(text="Heading: 0") except Exception as e: logging.error("Error in clear_all_lines: %s", str(e)) From 6bc289b91c111fbd204422ff70aeb1d85b6b7453 Mon Sep 17 00:00:00 2001 From: awdev <165525907+awdev1@users.noreply.github.com> Date: Tue, 8 Oct 2024 09:38:11 -0700 Subject: [PATCH 2/2] its true not false lil bro --- config.json | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config.json b/config.json index f276cc7..823347c 100644 --- a/config.json +++ b/config.json @@ -1 +1 @@ -{"first_run": false, "discord_rpc_enabled": false} \ No newline at end of file +{"first_run": true, "discord_rpc_enabled": false} \ No newline at end of file