Merge pull request #96 from ragingscholar/master
Use urlparse instead of urllib.parse for python2.7
This commit is contained in:
commit
186b7135ff
S'han modificat 1 arxius amb 18 adicions i 15 eliminacions
|
@ -16,7 +16,10 @@ import dateutil.parser
|
||||||
import re
|
import re
|
||||||
import copy
|
import copy
|
||||||
import threading
|
import threading
|
||||||
from urllib.parse import urlparse
|
try:
|
||||||
|
from urllib.parse import urlparse
|
||||||
|
except ImportError:
|
||||||
|
from urlparse import urlparse
|
||||||
|
|
||||||
|
|
||||||
class Mastodon:
|
class Mastodon:
|
||||||
|
|
Loading…
Referencia en una nova incidència