Merge pull request #96 from ragingscholar/master

Use urlparse instead of urllib.parse for python2.7
pull/99/head
Lorenz Diener 2017-10-16 11:19:05 +02:00 zatwierdzone przez GitHub
commit 186b7135ff
1 zmienionych plików z 18 dodań i 15 usunięć

Wyświetl plik

@ -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: