From d31437c3e8e4a9b2250b15974bcd103b062bcf41 Mon Sep 17 00:00:00 2001 From: Ivan Maslov Date: Tue, 13 Apr 2021 12:16:43 +0300 Subject: [PATCH] bug fix in Agent interaction --- Sources/pyOpenRPA/Orchestrator/ServerSettings.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Sources/pyOpenRPA/Orchestrator/ServerSettings.py b/Sources/pyOpenRPA/Orchestrator/ServerSettings.py index bbb546a6..fef2460e 100644 --- a/Sources/pyOpenRPA/Orchestrator/ServerSettings.py +++ b/Sources/pyOpenRPA/Orchestrator/ServerSettings.py @@ -392,7 +392,7 @@ def pyOpenRPA_Agent_O2A(inRequest, inGSettings): del lReturnActivityItemDict["CreatedByDatetime"] if lL: lL.info(f"Activity item to agent Hostname {lInput['HostNameUpperStr']}, User {lInput['UserUpperStr']}. Activity item: {lReturnActivityItemDict}") inRequest.OpenRPAResponseDict["Body"] = bytes(json.dumps(lReturnActivityItemDict), "utf8") - lDoLoopBool = False # CLose the connection + lDoLoopBool = False # CLose the connection else: # no queue item - sleep for the next iteration time.sleep(1) except Exception as e: