0

Added debug printout in the texture finding code

This commit is contained in:
Andrew Chin
2013-12-27 00:19:26 -05:00
parent d68c792c41
commit 7723e3df06

View File

@@ -241,6 +241,7 @@ class Textures(object):
"Application Support", "minecraft", "versions") "Application Support", "minecraft", "versions")
try: try:
if verbose: logging.info("Looking in the following directory: \"%s\"" % versiondir)
versions = os.listdir(versiondir) versions = os.listdir(versiondir)
if verbose: logging.info("Found these versions: {0}".format(versions)) if verbose: logging.info("Found these versions: {0}".format(versions))
except OSError: except OSError: