Merge pull request #96 from ragingscholar/master

Use urlparse instead of urllib.parse for python2.7
This commit is contained in:
Lorenz Diener 2017-10-16 11:19:05 +02:00 cometido por GitHub
commit 186b7135ff

Veure arxiu

@ -16,7 +16,10 @@ import dateutil.parser
import re
import copy
import threading
from urllib.parse import urlparse
try:
from urllib.parse import urlparse
except ImportError:
from urlparse import urlparse
class Mastodon: