summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-06 21:36:43 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-06 21:36:43 +0100
commit840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4 (patch)
tree685708d50bff89d909bab3735e4dd430bbb38252
parent46ccf6a966123531d8e5c0e5891496b6cb829b94 (diff)
downloadpoezio-840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4.tar.gz
poezio-840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4.tar.bz2
poezio-840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4.tar.xz
poezio-840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4.zip
Actually use the port option for the port…
-rw-r--r--plugins/mpd_client.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/plugins/mpd_client.py b/plugins/mpd_client.py
index bfba7df0..16255b86 100644
--- a/plugins/mpd_client.py
+++ b/plugins/mpd_client.py
@@ -11,7 +11,7 @@ class Plugin(BasePlugin):
def command_mpd(self, args):
args = shell_split(args)
c = mpd.MPDClient()
- c.connect(host=self.config.get('host', 'localhost'), port=self.config.get('host', '6600'))
+ c.connect(host=self.config.get('host', 'localhost'), port=self.config.get('port', '6600'))
password = self.config.get('password', '')
if password:
c.password(password)