src/hp/views.py
changeset 62 0cdd0bb4141c
parent 60 4a0bfe0002b1
child 65 6289931858a7
--- a/src/hp/views.py	Fri Nov 16 09:25:20 2012 +0100
+++ b/src/hp/views.py	Fri Nov 16 09:31:30 2012 +0100
@@ -84,7 +84,7 @@
     logger.debug("Proxy r url : " + r.url)
     logger.debug("Proxy r method : " + r.request.method)
     logger.debug("Proxy r full url : " + r.request.full_url)
-    logger.debug("Proxy r status : " + r.status_code)
+    logger.debug("Proxy r status : " + str(r.status_code))
     logger.debug("Proxy r text : " + r.text)
         
     return HttpResponse(content=r.text, content_type='application/json;charset=UTF-8')