diff --git a/models.py b/es24n/models.py similarity index 100% rename from models.py rename to es24n/models.py diff --git a/redfish.py b/es24n/redfish.py similarity index 100% rename from redfish.py rename to es24n/redfish.py diff --git a/serial_port.py b/es24n/serial_port.py similarity index 100% rename from serial_port.py rename to es24n/serial_port.py diff --git a/ui.py b/es24n/ui.py similarity index 100% rename from ui.py rename to es24n/ui.py diff --git a/workflow_firmware.py b/es24n/workflow_firmware.py similarity index 100% rename from workflow_firmware.py rename to es24n/workflow_firmware.py diff --git a/workflow_serial.py b/es24n/workflow_serial.py similarity index 100% rename from workflow_serial.py rename to es24n/workflow_serial.py diff --git a/es24n_conf.py b/es24n_conf.py index 4d1fc5c..445b272 100755 --- a/es24n_conf.py +++ b/es24n_conf.py @@ -15,9 +15,12 @@ All source files must be present in the same directory: workflow_serial.py, workflow_firmware.py """ +import os import sys import time +sys.path.insert(0, os.path.join(os.path.dirname(os.path.abspath(__file__)), "es24n")) + from ui import _c, C, banner, draw_box, ok, warn, prompt from workflow_firmware import firmware_update_workflow from workflow_serial import configure_shelf