mirror of
https://github.com/SpudGunMan/meshing-around.git
synced 2026-06-28 05:51:10 +02:00
Update mesh_bot.py
This commit is contained in:
+3
-1
@@ -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())
|
||||
|
||||
Reference in New Issue
Block a user