change db filepath to save in app directory

This commit is contained in:
pdxlocations
2025-01-15 07:48:57 -08:00
parent 457e1a66fe
commit 62a847a565
+6 -2
View File
@@ -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 = "*"