From 7df468dc12a8178aa6235463526573fdbfd6152e Mon Sep 17 00:00:00 2001 From: Laurie Clark-Michalek Date: Mon, 6 Jun 2011 21:21:39 +0000 Subject: Corrected incorrect default mpd port --- archey3 | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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') -- cgit v1.2.3