From 1f19610707abf9142dcc1323d39891da2c6b1cdc Mon Sep 17 00:00:00 2001 From: Andrew Chin Date: Tue, 6 Mar 2012 09:11:29 -0500 Subject: [PATCH] Better missing config file error messages Fixes #635 --- overviewer_core/configParser.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/overviewer_core/configParser.py b/overviewer_core/configParser.py index dea9bf2..8302313 100644 --- a/overviewer_core/configParser.py +++ b/overviewer_core/configParser.py @@ -67,7 +67,7 @@ class MultiWorldParser(object): """ if not os.path.exists(settings_file) and not os.path.isfile(settings_file): - raise ValueError("bad settings file") + raise ValueError("The settings file you specified (%r) does not exist, or is not a file" % settings_file) # The global environment should be the rendermode module, so the config # file has access to those resources.