mirror of
https://github.com/rspeer/wordfreq.git
synced 2024-12-23 09:21:37 +00:00
remove unused global
This commit is contained in:
parent
5dee417302
commit
c55a701885
@ -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