We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5b235db commit 6b4a718Copy full SHA for 6b4a718
qiita_pet/handlers/resources.py
@@ -1,4 +1,3 @@
1
-
2
from tornado.gen import coroutine, Task
3
from tornado.web import authenticated, HTTPError
4
import json
@@ -105,7 +104,7 @@ def post(self):
105
104
"tcalc": tcalc, "tfail": tfail,
106
"initial_load": False
107
}
108
- self.write(json.dumps(response_data))
+ self.write(json.dumps(response_data) + "\n")
109
110
except json.JSONDecodeError:
111
self.set_status(400)
@@ -129,7 +128,7 @@ def post(self):
129
128
130
131
self.set_status(200)
132
133
else:
134
self.set_status(500)
135
self.finish({"error": str(e)})
0 commit comments