Fix for type errors with custom host/port

This commit is contained in:
rembo10
2012-03-27 23:46:21 +01:00
parent 98548fbff7
commit b8ff8fc8d3

View File

@@ -33,8 +33,8 @@ def startmb(forcemb=False):
sleepytime = 1
elif headphones.MIRROR == "custom":
mbhost = headphones.CUSTOMHOST
mbport = headphones.CUSTOMPORT
sleepytime = headphones.CUSTOMSLEEP
mbport = int(headphones.CUSTOMPORT)
sleepytime = int(headphones.CUSTOMSLEEP)
elif headphones.MIRROR == "headphones":
mbhost = "178.63.142.150"
mbport = 8181