Fix in Agent

dev-linux
Ivan Maslov 3 years ago
parent 3b4b4284ae
commit 09f50c830f

@ -6,7 +6,7 @@ lPyOpenRPASourceFolderPathStr = r"..\Sources" # Path for test pyOpenRPA package
# Operations
if lPyOpenRPASourceFolderPathStr != "": sys.path.insert(0,os.path.abspath(os.path.join(lPyOpenRPASourceFolderPathStr))) # Path for test pyOpenRPA package
from pyOpenRPA.Agent import Agent
from pyOpenRPA.Agent import __Agent__
if __name__ == "__main__": # New init way
gSettings = {
@ -66,5 +66,5 @@ if __name__ == "__main__": # New init way
lL.addHandler(handler)
############################################
# Call the orchestrator def
Agent.Agent(inGSettings=gSettings)
__Agent__.Agent(inGSettings=gSettings)

Loading…
Cancel
Save