forked from mudhorn/TC2-BBS-mesh
Update server.py
This commit is contained in:
parent
141eb05156
commit
b8d7d1d584
16
server.py
16
server.py
|
@ -39,12 +39,12 @@ js8call_logger.addHandler(js8call_handler)
|
||||||
|
|
||||||
def display_banner():
|
def display_banner():
|
||||||
banner = """
|
banner = """
|
||||||
████████╗ ██████╗██████╗ ██████╗ ██████╗ ███████╗
|
███╗ ██╗██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ██████╗ ███████╗
|
||||||
╚══██╔══╝██╔════╝╚════██╗ ██╔══██╗██╔══██╗██╔════╝
|
████╗ ██║╚════██╗██╔══██╗██╔══██╗██╔════╝ ██╔══██╗██╔══██╗██╔════╝
|
||||||
██║ ██║ █████╔╝█████╗██████╔╝██████╔╝███████╗
|
██╔██╗ ██║ █████╔╝██║ ██║██████╔╝██║ █████╗██████╔╝██████╔╝███████╗
|
||||||
██║ ██║ ██╔═══╝ ╚════╝██╔══██╗██╔══██╗╚════██║
|
██║╚██╗██║██╔═══╝ ██║ ██║██╔══██╗██║ ╚════╝██╔══██╗██╔══██╗╚════██║
|
||||||
██║ ╚██████╗███████╗ ██████╔╝██████╔╝███████║
|
██║ ╚████║███████╗██████╔╝██║ ██║╚██████╗ ██████╔╝██████╔╝███████║
|
||||||
╚═╝ ╚═════╝╚══════╝ ╚═════╝ ╚═════╝ ╚══════╝
|
╚═╝ ╚═══╝╚══════╝╚═════╝ ╚═╝ ╚═╝ ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝
|
||||||
Meshtastic Version
|
Meshtastic Version
|
||||||
"""
|
"""
|
||||||
print(banner)
|
print(banner)
|
||||||
|
@ -63,7 +63,7 @@ def main():
|
||||||
interface.bbs_nodes = system_config['bbs_nodes']
|
interface.bbs_nodes = system_config['bbs_nodes']
|
||||||
interface.allowed_nodes = system_config['allowed_nodes']
|
interface.allowed_nodes = system_config['allowed_nodes']
|
||||||
|
|
||||||
logging.info(f"TC²-BBS is running on {system_config['interface_type']} interface...")
|
logging.info(f"N2DRC-BBS is running on {system_config['interface_type']} interface...")
|
||||||
|
|
||||||
initialize_database()
|
initialize_database()
|
||||||
|
|
||||||
|
@ -90,4 +90,4 @@ def main():
|
||||||
js8call_client.close()
|
js8call_client.close()
|
||||||
|
|
||||||
if __name__ == "__main__":
|
if __name__ == "__main__":
|
||||||
main()
|
main()
|
Loading…
Reference in a new issue