mirror of
https://github.com/meshtastic/python.git
synced 2026-02-24 02:28:33 -05:00
1.1.30 oops - need to short circuit the tunnel check BEFORE the and
This commit is contained in:
@@ -278,7 +278,7 @@ def onConnected(interface):
|
||||
url = pyqrcode.create(interface.channelURL)
|
||||
print(url.terminal())
|
||||
|
||||
if args.tunnel and have_tunnel:
|
||||
if have_tunnel and args.tunnel :
|
||||
closeNow = False # Even if others said we could close, stay open if the user asked for a tunnel
|
||||
tunnel.Tunnel(interface, subnet=args.tunnel_net)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user