|
|
|
@ -49,12 +49,18 @@ if __name__ == "__main__": # New init way - allow run as module -m PyOpenRPA.Orc
|
|
|
|
|
Orchestrator.UACSuperTokenUpdate(inGSettings=gSettings, inSuperTokenStr="1992-04-03-0643-ru-b4ff-openrpa52zzz")
|
|
|
|
|
|
|
|
|
|
## !!! For Relative import !!! CP Version Check
|
|
|
|
|
sys.path.insert(0,os.path.abspath(os.path.join(r"")))
|
|
|
|
|
from ControlPanel import CP_VersionCheck
|
|
|
|
|
CP_VersionCheck.SettingsUpdate(inGSettings=gSettings)
|
|
|
|
|
try:
|
|
|
|
|
sys.path.insert(0,os.path.abspath(os.path.join(r"")))
|
|
|
|
|
from ControlPanel import CP_VersionCheck
|
|
|
|
|
CP_VersionCheck.SettingsUpdate(inGSettings=gSettings)
|
|
|
|
|
except Exception as e:
|
|
|
|
|
gSettings["Logger"].exception(f"Exception when init CP. See below.")
|
|
|
|
|
|
|
|
|
|
from ControlPanel import CP_Test
|
|
|
|
|
CP_Test.SettingsUpdate(inGSettings=gSettings)
|
|
|
|
|
try:
|
|
|
|
|
from ControlPanel import CP_Test
|
|
|
|
|
CP_Test.SettingsUpdate(inGSettings=gSettings)
|
|
|
|
|
except Exception as e:
|
|
|
|
|
gSettings["Logger"].exception(f"Exception when init CP. See below.")
|
|
|
|
|
|
|
|
|
|
# Call the orchestrator def
|
|
|
|
|
Orchestrator.Orchestrator(inGSettings=gSettings)
|
|
|
|
|