mirror of
https://github.com/GNS3/gns3-server.git
synced 2026-10-25 19:32:24 +02: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…
x
Reference in New Issue
Block a user