1
0
mirror of https://github.com/GNS3/gns3-server synced 2024-11-15 12:59:06 +00:00

Useless debug

This commit is contained in:
Julien Duponchelle 2015-01-26 16:39:09 +01:00
parent 9abf323e7d
commit 6764c6e866

View File

@ -45,7 +45,6 @@ class Response(aiohttp.web.Response):
def json(self, answer): def json(self, answer):
"""Pass a Python object and return a JSON as answer""" """Pass a Python object and return a JSON as answer"""
print(self.headers)
self.content_type = "application/json" self.content_type = "application/json"
if hasattr(answer, '__json__'): if hasattr(answer, '__json__'):
answer = answer.__json__() answer = answer.__json__()