From b8ff8fc8d348a2dbc32b21f5d4ccaadf5fa24b10 Mon Sep 17 00:00:00 2001 From: rembo10 Date: Tue, 27 Mar 2012 23:46:21 +0100 Subject: [PATCH] Fix for type errors with custom host/port --- headphones/mb.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/headphones/mb.py b/headphones/mb.py index 14565bd7..6777d323 100644 --- a/headphones/mb.py +++ b/headphones/mb.py @@ -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