Skip to content
This repository was archived by the owner on Jun 30, 2024. It is now read-only.

Commit 3d6fc69

Browse files
authored
Merge pull request #1313 from presnick/json_fix
no need to set content_type (which should have been capitalized)
2 parents 2643c0c + 2696d71 commit 3d6fc69

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

controllers/ajax.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -187,7 +187,7 @@ def hsblog():
187187
return json.dumps(res)
188188

189189
def runlog(): # Log errors and runs with code
190-
response.headers['content-type'] = 'application/json'
190+
# response.headers['content-type'] = 'application/json'
191191
setCookie = False
192192
if auth.user:
193193
sid = auth.user.username

0 commit comments

Comments
 (0)