diff options
| author | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-23 10:32:34 +0200 |
|---|---|---|
| committer | Loic Guegan <loic.guegan@mailbox.org> | 2023-08-23 10:32:34 +0200 |
| commit | 0d5c89c5951b7b6dd0106eafdf3fd51705377aa6 (patch) | |
| tree | 06ba6d23c1679572c8ed4c92099109d352242588 /esds/simulator.py | |
| parent | 111ad7c34c505db6aa723454212b2e3f91931281 (diff) | |
Debug return code and improving documentation
Diffstat (limited to 'esds/simulator.py')
| -rw-r--r-- | esds/simulator.py | 2 |
1 files changed, 1 insertions, 1 deletions
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) |
