From ec51c57370483540dbd8ffbe5feb3c1b28ae8dfc Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Mon, 6 Dec 2021 15:13:22 -0800 Subject: [PATCH] sta_connect_multi_example: Fix whitespace Signed-off-by: Matthew Stidham --- py-scripts/sta_connect_multi_example.py | 6 ++---- 1 file changed, 2 insertions(+), 4 deletions(-) diff --git a/py-scripts/sta_connect_multi_example.py b/py-scripts/sta_connect_multi_example.py index 999c9187..4dd8ebaf 100755 --- a/py-scripts/sta_connect_multi_example.py +++ b/py-scripts/sta_connect_multi_example.py @@ -5,12 +5,10 @@ import os import importlib import argparse - if sys.version_info[0] != 3: print("This script requires Python 3") exit(1) - sys.path.append(os.path.join(os.path.abspath(__file__ + "../../../"))) # if you lack __init__.py in this directory you will not find sta_connect module @@ -32,14 +30,14 @@ def main(): description='''\ Example of how to instantiate StaConnect and run the test ''') - #args = parser.parse_args() - add this line if adding arguments + # args = parser.parse_args() - add this line if adding arguments parser.parse_args() # create multiple OPEN stations station_names = LFUtils.port_name_series(start_id=0, end_id=1) test = StaConnect("localhost", 8080, _debugOn=False, _exit_on_error=True, - _cleanup_on_exit=False, _runtime_sec=360, _exit_on_fail=True) + _cleanup_on_exit=False, _runtime_sec=360, _exit_on_fail=True) test.sta_mode = sta_connect.MODE_AUTO test.upstream_resource = 1 test.upstream_port = "eth1"