kopia lustrzana https://github.com/mate-dev/meshtastic-matrix-relay
avoid warnings when no connection exists
rodzic
60e8dffbed
commit
2d331c201d
1
main.py
1
main.py
|
@ -70,6 +70,7 @@ async def main():
|
||||||
# Start the Matrix client
|
# Start the Matrix client
|
||||||
while True:
|
while True:
|
||||||
try:
|
try:
|
||||||
|
if meshtastic_interface:
|
||||||
# Update longnames & shortnames
|
# Update longnames & shortnames
|
||||||
update_longnames(meshtastic_interface.nodes)
|
update_longnames(meshtastic_interface.nodes)
|
||||||
update_shortnames(meshtastic_interface.nodes)
|
update_shortnames(meshtastic_interface.nodes)
|
||||||
|
|
Ładowanie…
Reference in New Issue