From 52e3773b79136700310b6d3fef12c6c5d3af941f Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Fri, 15 Mar 2013 20:06:56 -0400 Subject: [PATCH] Call expanduser for paths to config files See #907 --- overviewer.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer.py b/overviewer.py index 496b2d0..13129a7 100755 --- a/overviewer.py +++ b/overviewer.py @@ -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))