summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
authorLoic Guegan <manzerbredes@mailbox.org>2022-06-14 17:16:12 +0200
committerLoic Guegan <manzerbredes@mailbox.org>2022-06-14 17:16:12 +0200
commit15bc39f1af6c4c6ee15628c19c47b58f14e62a58 (patch)
treee02837193057f57577210e3c4fa175227c57c5a2 /example
parent7f13c95e16a802d0706e9f5a6d5d845d7fd67631 (diff)
Cleaning code
Diffstat (limited to 'example')
-rw-r--r--example/sender.py2
-rwxr-xr-xexample/simulator.py1
2 files changed, 1 insertions, 2 deletions
diff --git a/example/sender.py b/example/sender.py
index 8389c95..bf38d52 100644
--- a/example/sender.py
+++ b/example/sender.py
@@ -18,7 +18,7 @@
# api.wait(duration) # Wait for "duration" seconds of simulated time
# api.turn_off(duration) # Turn the node off for "duration" seconds (no data can be receive during this time period)
-import sys, random
+import random
# Note that the following is required to have different instance from thread to thread
lr=random.Random(6)
diff --git a/example/simulator.py b/example/simulator.py
index 12b7caa..20eb878 100755
--- a/example/simulator.py
+++ b/example/simulator.py
@@ -1,7 +1,6 @@
#!/usr/bin/env python
# Load ESDS
-import sys
import esds
# Use numpy to construct bandwidth and latencies matrix