From f0694033dd221c99c197b500ef97824cd04b93bd Mon Sep 17 00:00:00 2001 From: Matthew Stidham Date: Tue, 18 Jan 2022 15:12:39 -0800 Subject: [PATCH] StationProfile.create: Pretty print out current ports as soon as function starts when debug is on. Signed-off-by: Matthew Stidham --- py-json/station_profile.py | 1 + 1 file changed, 1 insertion(+) diff --git a/py-json/station_profile.py b/py-json/station_profile.py index 3d335824..9039f938 100644 --- a/py-json/station_profile.py +++ b/py-json/station_profile.py @@ -394,6 +394,7 @@ class StationProfile: sleep_time=0.02): if debug: print('Start station_profile.create') + pprint('Current ports: %s' % LFRequest.LFRequest('/ports')) if (radio is None) or (radio == ""): raise ValueError("station_profile.create: will not create stations without radio") # Get the last event number currently on the LANforge