Skip to content

Commit 97741fe

Browse files
committed
Update s2gs parse loop.
1 parent 9915843 commit 97741fe

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

sc2reader/resources.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -690,7 +690,7 @@ def __init__(self, summary_file, filename=None, **options):
690690
# TODO: Is there a fixed number of entries?
691691
# TODO: Maybe the # of parts is recorded somewhere?
692692
self.parts = list()
693-
while buffer.left:
693+
while not buffer.is_empty:
694694
self.parts.append(buffer.read_data_struct())
695695

696696
# Parse basic info

0 commit comments

Comments
 (0)