Skip to content

Commit

Permalink
update flask example
Browse files Browse the repository at this point in the history
  • Loading branch information
siddhantgoel committed Nov 3, 2019
1 parent 4c010e0 commit ce122ad
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion examples/flask/upload-test.py
Original file line number Diff line number Diff line change
Expand Up @@ -58,14 +58,15 @@ def upload_file():
</head>
<body>
<h1>
{file_name}: upload done
{file_name} ({content_type}): upload done
</h1>
<h2>
Time spent on file reception: {duration}s
</h2>
</body>
'''.format(
file_name=file_.multipart_filename,
content_type=file_.multipart_content_type,
duration=(time_finish - time_start),
)
)
Expand Down

0 comments on commit ce122ad

Please sign in to comment.