Fix mistype in file name format

This commit is contained in:
DarkPhoenix
2011-04-16 18:58:54 +04:00
parent 05eba09663
commit d3989ebdfa

View File

@@ -79,7 +79,7 @@ def getImage(name, location):
path = os.path.join(location, filename) path = os.path.join(location, filename)
else: else:
location = locationMap[location] location = locationMap[location]
filename = "%s.png".format(name) filename = "{0}.png".format(name)
path = os.path.join(location, filename) path = os.path.join(location, filename)
else: else: