Welcome to mirror list, hosted at ThFree Co, Russian Federation.

git.blender.org/blender-addons.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCampbell Barton <ideasman42@gmail.com>2011-05-11 18:51:17 +0400
committerCampbell Barton <ideasman42@gmail.com>2011-05-11 18:51:17 +0400
commit1ef45bae5521b834dd89d8f85a64926e120c8341 (patch)
tree6fda6012235dc1f45f2eb1831b55afb4a2060466 /io_mesh_ply
parent298e81cc75faf7b3002140e31db8b6cca7d599fc (diff)
fix [#27369] Import PLY fails with windows line endings
Diffstat (limited to 'io_mesh_ply')
-rw-r--r--io_mesh_ply/import_ply.py2
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