mirror of
https://github.com/GNS3/gns3-server
synced 2024-11-15 12:59:06 +00:00
Useless debug
This commit is contained in:
parent
9abf323e7d
commit
6764c6e866
@ -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__()
|
||||||
|
Loading…
Reference in New Issue
Block a user