Code Review
/
affinity.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
review
|
tree
raw
| inline |
side by side
Added option in demo to disable waypoint redirection (and fixed typos in subnet.py)
[affinity.git]
/
scripts
/
demo.py
diff --git
a/scripts/demo.py
b/scripts/demo.py
index 78c4d6dd81d24f1be3af40d37c5b89e08e31bea6..fcbe30dc97fd1a60417bc44282d5a66525fdfc80 100644
(file)
--- a/
scripts/demo.py
+++ b/
scripts/demo.py
@@
-66,6
+66,8
@@
class WaypointMonitor(Thread):
ac.add_waypoint(link_name, self.waypoint_address)
ac.enable_waypoint(link_name)
did_waypoint = True
+ raw_input("[Press Enter to disable waypoint redirection] ")
+ ac.disable_waypoint(link_name)
time.sleep(1)
def main():