From c7f54e4f3410a05c761e73cad2a52f0e3825f498 Mon Sep 17 00:00:00 2001 From: Chuck SmileyRekiere Date: Thu, 9 Sep 2021 05:29:07 -0600 Subject: [PATCH] Revert "import realm properly in station_layer3.py" This reverts commit a1c739701eee4cdb7fc223a328a715caaec4faa8. --- py-scripts/station_layer3.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/py-scripts/station_layer3.py b/py-scripts/station_layer3.py index 63292445..0f749ae9 100644 --- a/py-scripts/station_layer3.py +++ b/py-scripts/station_layer3.py @@ -9,8 +9,10 @@ import time if 'py-json' not in sys.path: sys.path.append('../py-json') from LANforge import LFUtils +from LANforge import lfcli_base from LANforge.lfcli_base import LFCliBase from LANforge.LFUtils import * +import realm from realm import Realm class STATION(LFCliBase): @@ -26,7 +28,7 @@ class STATION(LFCliBase): self.name_prefix = name_prefix self.upstream = upstream - self.local_realm = Realm(lfclient_host=self.host, lfclient_port=self.port) + self.local_realm = realm.Realm(lfclient_host=self.host, lfclient_port=self.port) self.station_profile = self.local_realm.new_station_profile() self.station_profile.ssid = self.ssid self.station_profile.ssid_pass = self.paswd,