mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-10-29 18:02:35 +00:00
Only import ap_ctl if Pexpect_serial is installed, because of Windows incompatibility issues
Signed-off-by: Matthew Stidham <stidmatt@gmail.com>
This commit is contained in:
@@ -58,7 +58,10 @@ from .py_dashboard import *
|
||||
from .py_json import *
|
||||
from .py_json import LANforge
|
||||
from .py_json.LANforge import *
|
||||
from . import ap_ctl
|
||||
try:
|
||||
from . import ap_ctl
|
||||
except ImportError:
|
||||
print('Pexpect_serial is not installed')
|
||||
from . import emailHelper
|
||||
from . import lf_mail
|
||||
from . import lf_tos_plus_test
|
||||
|
||||
Reference in New Issue
Block a user