From ca4a3d4f13f62ffdf2e4d1e1f5428c4af5c4a38a Mon Sep 17 00:00:00 2001 From: Caleb Deveraux Date: Thu, 7 Oct 2010 23:11:54 -0600 Subject: [PATCH] Fix an indexing error in a warning --- mclevel.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mclevel.py b/mclevel.py index 8752c7e..a377d6b 100644 --- a/mclevel.py +++ b/mclevel.py @@ -610,7 +610,7 @@ class MCLevel(object): info( "Detected Alpha world." ) return lev; except Exception, ex: - warn( "Couldn't understand this file: {1} ".format(ex) ) + warn( "Couldn't understand this file: {0} ".format(ex) ) raise; rawdata = f.read() f.close()