Switch to side-by-side view
--- a/src/cdplugins/pycommon/routing.py +++ b/src/cdplugins/pycommon/routing.py @@ -18,8 +18,12 @@ import re import sys -from urlparse import urlsplit, parse_qs -from urllib import urlencode +try: + from urlparse import urlsplit, parse_qs + from urllib import urlencode +except ImportError: + from urllib.parse import urlsplit, parse_qs, urlencode + try: import xbmc