Skip to content

Commit

Permalink
Revert "HACK: Do not print headers"
Browse files Browse the repository at this point in the history
This reverts commit b6028d5.

And it sounds I managed to fix this by updating my
.lighttpd.conf.

Fixes #22 for real.
  • Loading branch information
urbanecm committed Apr 18, 2021
1 parent cb84ab2 commit 4cfbba5
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions feedback.py
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,7 @@ def getActorId(userId):
return data[0][0]

#Print header
#print('Content-type: application/json')
print('Content-type: application/json')

# Fetch params
labs = False
Expand Down Expand Up @@ -172,5 +172,5 @@ def getActorId(userId):
if 'deletedUploads' in fetch:
response['deletedUploads'] = deletedUploads(actorid)

#print()
print()
print(jsonify(response))

0 comments on commit 4cfbba5

Please sign in to comment.