maybe this

This commit is contained in:
pdxlocations
2025-02-07 20:19:26 -08:00
parent 30d14a6a9e
commit 9c380c18fd
2 changed files with 2 additions and 2 deletions
-1
View File
@@ -54,7 +54,6 @@ def main(stdscr):
pub.subscribe(on_receive, 'meshtastic.receive')
init_nodedb()
load_messages_from_db()
time.sleep(5)
logging.info("Starting main UI")
main_ui(stdscr)
except Exception as e:
+2 -1
View File
@@ -10,9 +10,10 @@ import ui.dialog
import globals
messages_pad = messages_box = nodes_pad = nodes_box = channel_pad = channel_box = function_win = packetlog_win = entry_win = None
def main_ui(stdscr):
global messages_pad, messages_box, nodes_pad, nodes_box, channel_pad, channel_box, function_win, packetlog_win, entry_win
messages_pad = messages_box = nodes_pad = nodes_box = channel_pad = channel_box = function_win = packetlog_win = entry_win = None
stdscr.keypad(True)
get_channels()