Skip to content

Commit 15f689f

Browse files
committed
Better six import handling
1 parent 73309fa commit 15f689f

File tree

1 file changed

+1
-5
lines changed

1 file changed

+1
-5
lines changed

icon_font_to_png/icon_font_downloader.py

Lines changed: 1 addition & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -6,11 +6,7 @@
66

77
import requests
88
import six
9-
10-
if six.PY2:
11-
from urllib import urlretrieve
12-
elif six.PY3:
13-
from urllib.request import urlretrieve
9+
from six.moves.urllib.request import urlretrieve
1410

1511

1612
@six.add_metaclass(ABCMeta)

0 commit comments

Comments
 (0)