summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-06-06 21:21:39 +0000
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-06-06 21:21:39 +0000
commit7df468dc12a8178aa6235463526573fdbfd6152e (patch)
tree9e561eb56308b8d6f68df0a45d5ad7a3a5b6e473
parentaceca2905ed8ed7e72e15998b2f76a20ae8dfb94 (diff)
Corrected incorrect default mpd port
-rwxr-xr-xarchey33
1 files changed, 2 insertions, 1 deletions
diff --git a/archey3 b/archey3
index 78cfcbc..186e334 100755
--- a/archey3
+++ b/archey3
@@ -155,6 +155,7 @@ class display(object):
cmd = self.command_line.format(arg1=self.arg1)
else:
cmd = self.command_line
+
try:
self.process = Popen(cmd.split(), stdin=PIPE, stdout=PIPE,
stderr=PIPE)
@@ -443,7 +444,7 @@ class mpdDisplay(display):
self.logger.error("Did not get any arguments, require one," +
" the stat to display.")
self.arg1 = self.config.get('mpd', 'host', fallback='localhost')
- self.arg2 = self.config.getint('mpd', 'port', fallback=8800)
+ self.arg2 = self.config.getint('mpd', 'port', fallback=6600)
def format_output(self, instring):
lines = instring.split('\n')