Compare commits

...

2 Commits

Author SHA1 Message Date
Warwick Harris a4acb492de Change to readme 2022-09-18 17:17:13 +10:00
Warwick Harris 06076ad24d Resolved missing urlparse import 2022-09-18 16:45:31 +10:00
2 changed files with 3 additions and 6 deletions

View File

@ -20,7 +20,7 @@ Leia compatible version available in alternate branch
## Installation ## Installation
From repository From repository
[repository.warwickh-0.9.1.zip](https://github.com/warwickh/repository.warwickh/raw/master/matrix/zips/repository.warwickh/repository.warwickh-0.9.1.zip) (Please report any issues) [repository.warwickh](https://github.com/warwickh/repository.warwickh/raw/master/matrix/zips/repository.warwickh) (Please report any issues)
From GitHub From GitHub
* Click the code button and download * Click the code button and download

View File

@ -20,11 +20,7 @@ from netrc import netrc
from hashlib import md5 from hashlib import md5
import urllib2 import urllib2
import httplib import httplib
#import urllib2.request import urlparse
#import urllib.error
#import urllib.parse
#from http import client as http_client
#from urllib.parse import urlencode
from urllib import urlencode from urllib import urlencode
from io import StringIO from io import StringIO
@ -244,6 +240,7 @@ class Connection(object):
req = self._getRequest(viewName) req = self._getRequest(viewName)
xbmc.log("Pinging %s"%str(req.get_full_url()),xbmc.LOGDEBUG) xbmc.log("Pinging %s"%str(req.get_full_url()),xbmc.LOGDEBUG)
#res = self._doInfoReq(req)
try: try:
res = self._doInfoReq(req) res = self._doInfoReq(req)
except Exception as e: except Exception as e: