demos/lworeader.py
branchpyrit
changeset 65 242839c6d27d
parent 59 64e456ab823d
child 69 303583d2fb97
--- a/demos/lworeader.py	Wed Apr 09 17:55:29 2008 +0200
+++ b/demos/lworeader.py	Thu Apr 10 23:20:36 2008 +0200
@@ -42,7 +42,7 @@
 	faces = []
 	tags = []
 	surfaces = []
-	f = file(filename)
+	f = file(filename, 'rb')
 	(ID,size) = read_chunk(f)
 	form = f.read(4)
 	if (ID != 'FORM' or form != 'LWOB'):