aboutsummaryrefslogtreecommitdiff
path: root/examples
diff options
context:
space:
mode:
Diffstat (limited to 'examples')
-rwxr-xr-xexamples/script-example.py6
1 files changed, 5 insertions, 1 deletions
diff --git a/examples/script-example.py b/examples/script-example.py
index 316a1d1..5e14823 100755
--- a/examples/script-example.py
+++ b/examples/script-example.py
@@ -93,7 +93,11 @@ if __name__ == '__main__':
client_a.add_node(node_b)
client_b.add_node(node_b)
client_c.add_node(node_b)
- story.parse_script_file('example-script.rsb')
+ script_file = os.path.join(
+ os.path.dirname(__file__),
+ 'example-script.rsb'
+ )
+ story.parse_script_file(script_file)
log.flush_log()
with ExperimentManager(exp):
exp.swap_in()