diff options
Diffstat (limited to 'examples/simple/script_arguments.py')
-rw-r--r-- | examples/simple/script_arguments.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/script_arguments.py b/examples/simple/script_arguments.py index b46a1960..84292eb9 100644 --- a/examples/simple/script_arguments.py +++ b/examples/simple/script_arguments.py @@ -9,9 +9,9 @@ class Replacer: flow.response.replace(self.src, self.dst) -def start(opts): +def load(l): parser = argparse.ArgumentParser() parser.add_argument("src", type=str) parser.add_argument("dst", type=str) args = parser.parse_args() - return Replacer(args.src, args.dst) + l.boot_into(Replacer(args.src, args.dst)) |