Fixed input menu bug

pull/2/head 0.9.9
Mark Qvist 2020-06-01 16:03:27 +02:00
parent f9aa1f5d94
commit 8630513343
2 changed files with 2 additions and 2 deletions

View File

@ -1008,7 +1008,7 @@ def main():
print("Bandwidth in Hz:\t", end="")
rnode.bandwidth = int(input())
if args.txp >= 0 and args.txp <= 17:
if args.txp != None and (args.txp >= 0 and args.txp <= 17):
rnode.txpower = args.txp
else:
print("TX Power in dBm:\t", end="")

View File

@ -5,7 +5,7 @@ with open("README.md", "r") as fh:
setuptools.setup(
name="rnodeconf",
version="0.9.8",
version="0.9.9",
author="Mark Qvist",
author_email="mark@unsigned.io",
description="Configuration Utility for RNode hardware",