diff --git a/globals.py b/globals.py index b6786cb..24c9900 100644 --- a/globals.py +++ b/globals.py @@ -1,3 +1,8 @@ +import os + +app_directory = os.path.dirname(os.path.abspath(__file__)) +db_file_path = os.path.join(app_directory, "client.db") + all_messages = {} channel_list = [] notifications = set() @@ -9,7 +14,6 @@ selected_node = 0 current_window = 0 interface = None display_log = False -db_file_path = "client.db" message_prefix = ">>" sent_message_prefix = message_prefix + " Sent" -notification_symbol = "*" +notification_symbol = "*" \ No newline at end of file