summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-06-06 22:30:33 +0000
committerLaurie Clark-Michalek <bluepeppers@archlinux.us>2011-06-06 22:30:33 +0000
commit5bf0646bc2a229bbf0cd6e0f533831cbc135afb1 (patch)
tree691695c77dbd2483ef6a04b135f2a03f7863bace
parent7d4e05c4565094deeb6b35cbde4ebc90bac29e74 (diff)
Fixed messed up config writing
-rwxr-xr-xarchey35
1 files changed, 3 insertions, 2 deletions
diff --git a/archey3 b/archey3
index 186e334..10bcd91 100755
--- a/archey3
+++ b/archey3
@@ -471,8 +471,8 @@ class ArcheyConfigParser(configparser.SafeConfigParser):
'color': 'blue',
'display_modules':
"""\
-distro(), uname(n), distro(r), uptime(), wm(), de(), packages(), ram(),\
- uname(p), env(editor), df(/), mpd(albums)"""
+distro(), uname(n), uname(r), uptime(), wm(), de(), packages(), ram(),\
+ uname(p), env(editor), fs(/), mpd(albums)"""
},
}
@@ -492,6 +492,7 @@ distro(), uname(n), distro(r), uptime(), wm(), de(), packages(), ram(),\
if file_location == None and not loaded:
self.load_default_config()
self.write_config(config_location)
+ return [config_location]
if not loaded:
#Try with default
loaded = super(ArcheyConfigParser, self).read()