From 4ccbe5036b4f5c76a89a4831be7ed9b52be10fff Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 13 Apr 2021 12:08:09 +0300 Subject: [PATCH] bug fix in Agent interaction --- Sources/pyOpenRPA/Orchestrator/ServerSettings.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/Sources/pyOpenRPA/Orchestrator/ServerSettings.py b/Sources/pyOpenRPA/Orchestrator/ServerSettings.py index 28a393c2..bbb546a6 100644 --- a/Sources/pyOpenRPA/Orchestrator/ServerSettings.py +++ b/Sources/pyOpenRPA/Orchestrator/ServerSettings.py @@ -151,7 +151,9 @@ def HiddenAgentDictGenerate(inRequest, inGSettings): lKeyStr = f"{lAgentItemKeyStrItem[0]};{lAgentItemKeyStrItem[1]}" # turple ("HostNameUpperStr","UserUpperStr") > Str "HostNameUpperStr;UserUpperStr" if dUAC(inRoleKeyList=lUACAgentTemplateKeyList+[lKeyStr]): lDataItemDict = inGSettings["AgentDict"][lAgentItemKeyStrItem] - lAgentDict[lKeyStr]=lDataItemDict + lDataItemAgentDict = copy.deepcopy(lDataItemDict) + lDataItemAgentDict["ActivityList"] = [] + lAgentDict[lKeyStr]=lDataItemAgentDict lHandlebarsDataItemDict = copy.deepcopy(lDataItemDict) lHandlebarsDataItemDict["HostnameUpperStr"]=lAgentItemKeyStrItem[0] lHandlebarsDataItemDict["UserUpperStr"]=lAgentItemKeyStrItem[1]