0

changed error message for missing texture file

This commit is contained in:
Andrew Brown
2012-03-08 13:58:28 -05:00
parent 930692136d
commit fae28114f4

View File

@@ -213,7 +213,7 @@ class Textures(object):
if verbose: logging.info("Found %s in '%s'", filename, path) if verbose: logging.info("Found %s in '%s'", filename, path)
return open(path, mode) return open(path, mode)
raise IOError("Could not find the file `{0}'. You can either place it in the same place as overviewer.py, use --textures-path, or install the Minecraft client.".format(filename)) raise IOError("Could not find the file `{0}'. Try specifying the 'texturepath' option in your config file. Set it to the directory where I can find {0}.".format(filename))
def load_image(self, filename): def load_image(self, filename):
"""Returns an image object""" """Returns an image object"""