changed error message for missing texture file
This commit is contained in:
@@ -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"""
|
||||||
|
|||||||
Reference in New Issue
Block a user