Skip to content

Commit 2e3ef41

Browse files
committed
debug readof for ascii
1 parent 1867c7c commit 2e3ef41

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

fluidfoam/readof.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -511,8 +511,8 @@ def _parse_points(self, precision):
511511
continue
512512
break
513513
self.nb_pts = int(line)
514-
data = self.content.split(line, 1)[1]
515-
514+
data = self.content.split(b'}', 1)[1]
515+
data = data.split(line, 1)[1]
516516
self.type_data = self.header[b"class"]
517517

518518
if not self.is_ascii:

0 commit comments

Comments
 (0)