--- a/ldcheck.py Mon Jun 24 17:34:30 2019 +0300 +++ b/ldcheck.py Mon Jun 24 19:08:24 2019 +0300 @@ -119,7 +119,7 @@ print('Description:', repr(subfile.description)) print('Contains studs:', repr(subfile.has_studs)) else: - with open(args.filename) as file: + with open(args.filename, 'rb') as file: from os.path import basename model = parse.read_ldraw( file,