small fixes.

This commit is contained in:
Joris Vink 2017-02-01 21:36:53 +01:00
parent 7fb47da586
commit d3f84db4b8
1 changed files with 2 additions and 1 deletions

View File

@ -16,7 +16,6 @@
# Processing incoming files in a multipart form.
import sys
import kore
#
@ -55,5 +54,7 @@ def upload(req):
kore.log(kore.LOG_INFO, "got %d bytes of data" % len)
f.write(bytes)
f.close()
req.response(200, b'')
return kore.RESULT_OK