summaryrefslogtreecommitdiff
path: root/example
diff options
context:
space:
mode:
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