0

Call expanduser for paths to config files

See #907
This commit is contained in:
Andrew Chin
2013-03-15 20:06:56 -04:00
parent 3889fd236f
commit 52e3773b79

View File

@@ -243,7 +243,7 @@ dir but you forgot to put quotes around the directory, since it contains spaces.
# Parse the config file
try:
mw_parser.parse(options.config)
mw_parser.parse(os.path.expanduser(options.config))
except configParser.MissingConfigException as e:
# this isn't a "bug", so don't print scary traceback
logging.error(str(e))