diff -r 5785cca4cdb9 -r 242839c6d27d demos/lworeader.py --- 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'):