Resolved missing urlparse import
This commit is contained in:
parent
f0388d17f1
commit
06076ad24d
|
@ -20,11 +20,7 @@ from netrc import netrc
|
|||
from hashlib import md5
|
||||
import urllib2
|
||||
import httplib
|
||||
#import urllib2.request
|
||||
#import urllib.error
|
||||
#import urllib.parse
|
||||
#from http import client as http_client
|
||||
#from urllib.parse import urlencode
|
||||
import urlparse
|
||||
from urllib import urlencode
|
||||
from io import StringIO
|
||||
|
||||
|
@ -244,6 +240,7 @@ class Connection(object):
|
|||
|
||||
req = self._getRequest(viewName)
|
||||
xbmc.log("Pinging %s"%str(req.get_full_url()),xbmc.LOGDEBUG)
|
||||
#res = self._doInfoReq(req)
|
||||
try:
|
||||
res = self._doInfoReq(req)
|
||||
except Exception as e:
|
||||
|
|
Loading…
Reference in New Issue