aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/acit/web.py4
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