summaryrefslogtreecommitdiff
path: root/plugins
diff options
context:
space:
mode:
authorFlorent Le Coz <louiz@louiz.org>2011-11-06 21:37:11 +0100
committerFlorent Le Coz <louiz@louiz.org>2011-11-06 21:37:11 +0100
commit1e1d977942c9358c3f0255b218ab13b47841bb11 (patch)
treec41b2b1cafadac5e6ae10fd7dccea72c0e9f4fdf /plugins
parent3f4def1037e32a77f7ca132c8a0a7575ddee1976 (diff)
parent840acd3bd4dcee91ca34c5b4e4c89ce5e78a56b4 (diff)
downloadpoezio-1e1d977942c9358c3f0255b218ab13b47841bb11.tar.gz
poezio-1e1d977942c9358c3f0255b218ab13b47841bb11.tar.bz2
poezio-1e1d977942c9358c3f0255b218ab13b47841bb11.tar.xz
poezio-1e1d977942c9358c3f0255b218ab13b47841bb11.zip
Merge branch 'plugins' of http://git.louiz.org/poezio into plugins
Diffstat (limited to 'plugins')
-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)