mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 17:31:41 +00:00
parent
b357ffaa09
commit
0c61406cdc
@ -16,10 +16,8 @@ import subprocess
|
|||||||
logger = logging.getLogger(__name__)
|
logger = logging.getLogger(__name__)
|
||||||
|
|
||||||
if sys.version_info.major == 2:
|
if sys.version_info.major == 2:
|
||||||
PY2 = True
|
|
||||||
from urllib import urlretrieve
|
from urllib import urlretrieve
|
||||||
else:
|
else:
|
||||||
PY2 = False
|
|
||||||
from urllib.request import urlretrieve
|
from urllib.request import urlretrieve
|
||||||
|
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user