summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--quoins/controllers.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/quoins/controllers.py b/quoins/controllers.py
index 1f9e971..089ada2 100644
--- a/quoins/controllers.py
+++ b/quoins/controllers.py
@@ -261,9 +261,9 @@ class Pingback(TGController):
261 261
262 @expose(content_type='text/xml') 262 @expose(content_type='text/xml')
263 def index(self): 263 def index(self):
264 params, method = xmlrpclib.loads(request.body)
265 log.debug('Pingback method: %s' % method)
266 try: 264 try:
265 params, method = xmlrpclib.loads(request.body)
266 log.debug('Pingback method: %s' % method)
267 if method != "pingback.ping": 267 if method != "pingback.ping":
268 raise AssertionError("method does not exist") 268 raise AssertionError("method does not exist")
269 269