1.1.30 oops - need to short circuit the tunnel check BEFORE the and

This commit is contained in:
Kevin Hester
2020-12-28 09:37:40 +08:00
parent e89be6d56a
commit 3df8a16de1
2 changed files with 2 additions and 2 deletions

View File

@@ -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)

View File

@@ -12,7 +12,7 @@ with open("README.md", "r") as fh:
# This call to setup() does all the work
setup(
name="meshtastic",
version="1.1.29",
version="1.1.30",
description="Python API & client shell for talking to Meshtastic devices",
long_description=long_description,
long_description_content_type="text/markdown",