We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a8982b3 commit b782252Copy full SHA for b782252
demos/file_upload/file_receiver.py
@@ -9,12 +9,7 @@
9
"""
10
11
import logging
12
-
13
-try:
14
- from urllib.parse import unquote
15
-except ImportError:
16
- # Python 2.
17
- from urllib import unquote
+from urllib.parse import unquote
18
19
import tornado.ioloop
20
import tornado.web
demos/file_upload/file_uploader.py
@@ -13,14 +13,9 @@
import os
import sys
from functools import partial
+from urllib.parse import quote
from uuid import uuid4
- from urllib.parse import quote
21
22
- from urllib import quote
23
24
from tornado import gen, httpclient, ioloop
25
from tornado.options import define, options
26
0 commit comments