diff options
Diffstat (limited to 'io_mesh_ply')
-rw-r--r-- | io_mesh_ply/import_ply.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/io_mesh_ply/import_ply.py b/io_mesh_ply/import_ply.py index 8e5db68e..fc87e66e 100644 --- a/io_mesh_ply/import_ply.py +++ b/io_mesh_ply/import_ply.py @@ -156,7 +156,7 @@ def read(filepath): return None while 1: - tokens = re.split(r'[ \n]+'.encode("ASCII"), file.readline()) + tokens = re.split(br'[ \r\n]+', file.readline()) if len(tokens) == 0: continue |