diff options
author | Marco Capitani <m.capitani@nextworks.it> | 2018-03-26 13:01:55 +0200 |
---|---|---|
committer | Marco Capitani <m.capitani@nextworks.it> | 2018-03-26 15:47:24 +0200 |
commit | f4eada17dffbeba60a95cf77e7f946af5b351556 (patch) | |
tree | 2e8eb7acae1fe09fa0836268e7e6e711e32413b4 /tools | |
parent | 75aacd73e2492e521c5c5af2290118d0c185c78c (diff) | |
download | rumba-f4eada17dffbeba60a95cf77e7f946af5b351556.tar.gz rumba-f4eada17dffbeba60a95cf77e7f946af5b351556.zip |
storyboard: make Script class private
The Script class has been made private as the script field
of the Storyboard class. All script-related functions are
now accessible as methods of the storyboard class.
In other news:
Made the script path in script-example.py pwd resilient.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/scriptgenerator.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tools/scriptgenerator.py b/tools/scriptgenerator.py index 059163e..cc3e1ea 100644 --- a/tools/scriptgenerator.py +++ b/tools/scriptgenerator.py @@ -45,7 +45,7 @@ def main(duration, exp, run=False, script='generated_script.txt'): f.write('################################################\n') f.write('# SCRIPT GENERATED WITH RUMBA SCRIPT GENERATOR #\n') f.write('################################################\n') - story.script.write(f) + story.write_script(f) if run: with ExperimentManager(exp, swap_out_strategy=PAUSE_SWAPOUT): |