summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quoins/controllers.py4
1 files changed, 4 insertions, 0 deletions
diff --git a/quoins/controllers.py b/quoins/controllers.py
index 888aa55..bb7bcfe 100644
--- a/quoins/controllers.py
+++ b/quoins/controllers.py
@@ -509,6 +509,10 @@ Comment:
509 509
510 @expose(template="genshi:quoinstemplates.index") 510 @expose(template="genshi:quoinstemplates.index")
511 def author(self, name='', start=0): 511 def author(self, name='', start=0):
512 try:
513 start=int(start)
514 except:
515 raise tg.exceptions.HTTPNotFound().exception
512 blog = DBSession.query(Blog).get(1) 516 blog = DBSession.query(Blog).get(1)
513 517
514 if not name: 518 if not name: