0

Better missing config file error messages

Fixes #635
This commit is contained in:
Andrew Chin
2012-03-06 09:11:29 -05:00
parent f8248f1a65
commit 1f19610707

View File

@@ -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.