wlan_capacity_calculator autopep8

Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
Matthew Stidham
2021-11-10 14:59:41 -08:00
parent 36e07e745e
commit d3023a5d2d

View File

@@ -19,7 +19,7 @@ wlan_theoretical_sta = importlib.import_module("py-json.wlan_theoretical_sta")
def main():
parse = wlan_theoretical_sta.abg11_calculator.create_argparse( prog='wlan_capacity_calculator.py',
parse = wlan_theoretical_sta.abg11_calculator.create_argparse(prog='wlan_capacity_calculator.py',
formatter_class=argparse.RawTextHelpFormatter,
epilog='''\
This python script calculates the theoretical value of three different stations( 11abg/11n/11ac)''',
@@ -217,7 +217,6 @@ def main():
else:
rtscts_name = 'No'
except Exception as e:
logging.exception(e)
exit(2)
@@ -239,8 +238,7 @@ def main():
Station2.get_result()
if "11ac" in Calculator_name:
Station3 = wlan_theoretical_sta.ac11_calculator(traffic_name, data_name, spatial_name, channel_name, guard_name, highest_name,
encryption_name
, qos_name, ip_name, mc_name, basic_name, mac_name,
encryption_name, qos_name, ip_name, mc_name, basic_name, mac_name,
codec_name, cwin_name, rtscts_name)
Station3.calculate()
Station3.get_result()