From a6d2ce11cc9ac30b94a0c2471a259377ace655ba Mon Sep 17 00:00:00 2001 From: Ryan Tolboom Date: Wed, 20 Oct 2021 21:38:19 -0400 Subject: [PATCH] Fixed order of have_tunnel check --- meshtastic/__main__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/meshtastic/__main__.py b/meshtastic/__main__.py index 3250d83..193ef02 100644 --- a/meshtastic/__main__.py +++ b/meshtastic/__main__.py @@ -511,7 +511,7 @@ def common(): # We assume client is fully connected now onConnected(client) - if args.noproto or (args.tunnel and have_tunnel): # loop until someone presses ctrlc + if args.noproto or (have_tunnel and args.tunnel): # loop until someone presses ctrlc while True: time.sleep(1000)