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