mirror of
https://github.com/Telecominfraproject/wlan-lanforge-scripts.git
synced 2025-11-03 12:18:00 +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 *
|
||||||
from .py_json import LANforge
|
from .py_json import LANforge
|
||||||
from .py_json.LANforge import *
|
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 emailHelper
|
||||||
from . import lf_mail
|
from . import lf_mail
|
||||||
from . import lf_tos_plus_test
|
from . import lf_tos_plus_test
|
||||||
|
|||||||
Reference in New Issue
Block a user