From 482d158b15cdc4f91369d593c266b225f7dc1c5f Mon Sep 17 00:00:00 2001 From: pdxlocations Date: Thu, 23 Jan 2025 12:29:14 -0800 Subject: [PATCH] sort globals --- globals.py | 18 ++++++++++-------- 1 file changed, 10 insertions(+), 8 deletions(-) diff --git a/globals.py b/globals.py index 917a645..76d03bf 100644 --- a/globals.py +++ b/globals.py @@ -1,25 +1,27 @@ import os +# App Variables app_directory = os.path.dirname(os.path.abspath(__file__)) -db_file_path = os.path.join(app_directory, "client.db") -log_file_path = os.path.join(app_directory, "client.log") - +interface = None +display_log = False all_messages = {} channel_list = [] notifications = set() packet_buffer = [] +node_list = [] myNodeNum = 0 selected_channel = 0 selected_message = 0 selected_node = 0 current_window = 0 -interface = None -display_log = False + +# User Configurable +db_file_path = os.path.join(app_directory, "client.db") +log_file_path = os.path.join(app_directory, "client.log") message_prefix = ">>" sent_message_prefix = message_prefix + " Sent" +notification_symbol = "*" ack_implicit_str = "[◌]" ack_str = "[✓]" nak_str = "[x]" -ack_unknown_str = "[…]" -notification_symbol = "*" -node_list = [] +ack_unknown_str = "[…]" \ No newline at end of file