Merge remote-tracking branch 'origin/master' into clean-up

This commit is contained in:
angelblue05 2015-06-28 22:10:37 -05:00
commit 77bf9a7056
2 changed files with 7 additions and 1 deletions

View file

@ -96,6 +96,10 @@ class UserClient(threading.Thread):
HTTPS = addon.getSetting('https')
host = addon.getSetting('ipaddress')
port = addon.getSetting('port')
# Alternate host
if addon.getSetting('altip') == "true":
host = addon.getSetting('secondipaddress')
server = host + ":" + port
if host == "":