Update mesh_bot.py

This commit is contained in:
SpudGunMan
2024-07-10 21:55:04 -07:00
parent 8f8c4d95e2
commit 91f92252b3
+3 -1
View File
@@ -66,7 +66,6 @@ bbsdb = config['bbs'].get('bbsdb', 'bbsdb.pkl')
if bbs_enabled:
trap_list = trap_list + trap_list_bbs # items bbslist, bbspost, bbsread, bbsdelete, bbshelp
print(f"System: BBS Enabled, using {bbsdb}")
#Get the node number of the device, check if the device is connected
try:
@@ -433,6 +432,9 @@ def start_rx():
# Hello World
print ("\nMeshtastic Autoresponder MESH Bot CTL+C to exit\n")
if bbs_enabled:
print(f"System: BBS Enabled, using {bbsdb}")
loop = asyncio.get_event_loop()
try:
loop.run_forever(start_rx())