From 26e5779a50b466f8e2a5bf14808c96ebea2a4eef Mon Sep 17 00:00:00 2001 From: Chris Gavin Date: Tue, 25 Apr 2017 21:40:22 +0100 Subject: [PATCH] Fix file upload demo on Python 2. --- demos/file_upload/file_uploader.py | 1 + 1 file changed, 1 insertion(+) diff --git a/demos/file_upload/file_uploader.py b/demos/file_upload/file_uploader.py index 025c2159..5f13fcb6 100644 --- a/demos/file_upload/file_uploader.py +++ b/demos/file_upload/file_uploader.py @@ -9,6 +9,7 @@ single file without encoding. See also file_receiver.py in this directory, a server that receives uploads. """ +from __future__ import print_function import mimetypes import os import sys