Resolved missing urlparse import

This commit is contained in:
Warwick Harris 2022-09-18 16:45:31 +10:00
parent f0388d17f1
commit 06076ad24d
1 changed files with 2 additions and 5 deletions

View File

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