--- a/parse.py Tue Jan 23 14:09:44 2018 +0200
+++ b/parse.py Tue Jan 23 14:09:52 2018 +0200
@@ -7,6 +7,8 @@
pass
def parse_ldraw_code(line):
+ if isinstance(line, bytes):
+ line = line.decode()
line = line.strip()
if not line:
return linetypes.EmptyLine()