diff options
| author | Vosjedev <vosje@vosjedev.net> | 2025-11-02 17:18:15 +0100 |
|---|---|---|
| committer | Vosjedev <vosje@vosjedev.net> | 2025-11-02 17:18:15 +0100 |
| commit | fbb1c7c0a828baf908a7fcb671da1c45013289c0 (patch) | |
| tree | b6dcd01b69fb642b9a7389775e24f54c3ed26c15 | |
| parent | c28169867c094ec31925ad63487f5d5b93fe6b91 (diff) | |
| download | acit-fbb1c7c0a828baf908a7fcb671da1c45013289c0.tar.gz acit-fbb1c7c0a828baf908a7fcb671da1c45013289c0.tar.bz2 acit-fbb1c7c0a828baf908a7fcb671da1c45013289c0.tar.xz | |
web.py: fix dynamically generated pages never being generated dynamically
| -rw-r--r-- | src/acit/web.py | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/acit/web.py b/src/acit/web.py index f2247f0..0dc70d0 100644 --- a/src/acit/web.py +++ b/src/acit/web.py @@ -32,7 +32,7 @@ class Server(): if kwargs: results=cherrypy.engine.publish('generate::'+generate,path=path,**kwargs) if results: - cherrypy.log(results) + cherrypy.log(repr(results)) return results[0] else: return page @@ -62,7 +62,7 @@ class Server(): def default(self,*pathlist,**kwargs): from os.path import normpath path=normpath("/".join(pathlist)) - page=self.getpage(path) + page=self.getpage(path,**kwargs) if not page: from .html import notfound cherrypy.response.status=404 |
