Compare commits
1 Commits
main
...
add-quote-
Author | SHA1 | Date | |
---|---|---|---|
5345aafcc0 |
@ -6,7 +6,7 @@ from datetime import datetime
|
|||||||
try:
|
try:
|
||||||
# python2
|
# python2
|
||||||
from urllib2 import urlopen, URLError, HTTPError
|
from urllib2 import urlopen, URLError, HTTPError
|
||||||
from urllib import urlencode
|
from urllib import urlencode, quote
|
||||||
except ImportError:
|
except ImportError:
|
||||||
# python3
|
# python3
|
||||||
from urllib.parse import urlencode, quote
|
from urllib.parse import urlencode, quote
|
||||||
|
Loading…
Reference in New Issue
Block a user