Unify XML paths

This commit is contained in:
tomkat83 2017-07-02 15:03:53 +02:00
parent 61b9bbee8f
commit 92a5eac7be

View file

@ -16,7 +16,7 @@ import variables as v
log = getLogger("PLEX."+__name__) log = getLogger("PLEX."+__name__)
# STATE = connectionmanager.ConnectionState XML_PATH = (tryEncode(v.ADDON_PATH), "default", "1080i")
############################################################################### ###############################################################################
@ -96,10 +96,7 @@ class ConnectManager(object):
""" """
Will return selected server or raise RuntimeError Will return selected server or raise RuntimeError
""" """
dia = ServerConnect("script-emby-connect-server.xml", dia = ServerConnect("script-emby-connect-server.xml", *XML_PATH)
tryEncode(v.ADDON_PATH),
"default",
"1080i")
dia.doModal() dia.doModal()
if dia.is_server_selected(): if dia.is_server_selected():