diff options
author | Lars-Dominik Braun <lars@6xq.net> | 2019-06-18 16:57:29 +0200 |
---|---|---|
committer | Lars-Dominik Braun <lars@6xq.net> | 2019-06-18 16:57:29 +0200 |
commit | 9c1de8ebb7b9e00bc6afc9f2ed2978a003d9abd8 (patch) | |
tree | 4ad0c2a78e23896739d6dadbfbea9cfd1bb4d722 /crocoite/warc.py | |
parent | b4669705fa8e581c17bbe0ca0c7cf4fadbd3deb8 (diff) | |
download | crocoite-9c1de8ebb7b9e00bc6afc9f2ed2978a003d9abd8.tar.gz crocoite-9c1de8ebb7b9e00bc6afc9f2ed2978a003d9abd8.tar.bz2 crocoite-9c1de8ebb7b9e00bc6afc9f2ed2978a003d9abd8.zip |
Re-inject behavior scripts on site reload
Fixes #13. Event handler’s push() is async now.
Diffstat (limited to 'crocoite/warc.py')
-rw-r--r-- | crocoite/warc.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/crocoite/warc.py b/crocoite/warc.py index 4106995..3a084a1 100644 --- a/crocoite/warc.py +++ b/crocoite/warc.py @@ -241,7 +241,7 @@ class WarcHandler (EventHandler): ControllerStart: _writeControllerStart, } - def push (self, item): + async def push (self, item): for k, v in self.route.items (): if isinstance (item, k): v (self, item) |