diff options
Diffstat (limited to 'examples/simple/modify_body_inject_iframe.py')
-rw-r--r-- | examples/simple/modify_body_inject_iframe.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/examples/simple/modify_body_inject_iframe.py b/examples/simple/modify_body_inject_iframe.py index f92aac04..442a5118 100644 --- a/examples/simple/modify_body_inject_iframe.py +++ b/examples/simple/modify_body_inject_iframe.py @@ -23,7 +23,7 @@ class Injector: flow.response.content = str(html).encode("utf8") -def load(opts): +def load(l): if len(sys.argv) != 2: raise ValueError('Usage: -s "iframe_injector.py url"') - return Injector(sys.argv[1]) + return l.boot_into(Injector(sys.argv[1])) |