From 0d5c89c5951b7b6dd0106eafdf3fd51705377aa6 Mon Sep 17 00:00:00 2001 From: Loic Guegan Date: Wed, 23 Aug 2023 10:32:34 +0200 Subject: Debug return code and improving documentation --- esds/simulator.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'esds/simulator.py') diff --git a/esds/simulator.py b/esds/simulator.py index fcc759b..b3bbfc2 100644 --- a/esds/simulator.py +++ b/esds/simulator.py @@ -424,7 +424,7 @@ class Simulator: if dst["state"] == "call_blocking" and dst["request"] == "receive": dst["interfaces_queue_size"][interface]-=1 dst["state"]="running" - dst.rqueue.put(("receive",RCode.SUCCESS)) + dst.rqueue.put(("receive",rcode)) self.sync_node_non_blocking(dst,timeout_remove_only=True) self.notify_node_plugins(dst, "on_communication_end", event) self.update_sharing(dst.node_id,-1,interface) -- cgit v1.2.3