summaryrefslogtreecommitdiff
path: root/esds/simulator.py
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-09-01 17:53:42 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-09-01 17:53:42 +0200
commit2eafcaabbdc673576cbba8b5ab9080a2ce6d4b1e (patch)
tree04364f3be9bff558539aa7e985db099c715d6c90 /esds/simulator.py
parentd908a5f8328c5a16b8d60acb09583082f60f5a05 (diff)
Making esds compatible with python 3.7
Diffstat (limited to 'esds/simulator.py')
-rw-r--r--esds/simulator.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/esds/simulator.py b/esds/simulator.py
index 57dda4e..5032713 100644
--- a/esds/simulator.py
+++ b/esds/simulator.py
@@ -110,7 +110,7 @@ class Simulator:
"""
node=Node(src, self.netmat.keys())
self.nodes.append(node)
- thread=threading.Thread(target=node.run, daemon=True,args=[args])
+ thread=threading.Thread(target=node.run,args=[args]) # There must be "daemon=True" as a parameter, but we removed it to be compatible with older version of python
thread.start()
def log(self,msg,node=None):