Skip to content

Commit e28f6e0

Browse files
authored
Merge pull request #45 from McCulloughRT/streaming-decode
remove readlines()
2 parents 086ff8c + 6ae8873 commit e28f6e0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

label_maker/stream_filter.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55

66
bbox = box(*json.loads(sys.argv[1]))
77

8-
for line in sys.stdin.readlines():
8+
for line in sys.stdin:
99
geo = json.loads(line)
1010
geom = shape(geo['geometry'])
1111
geo.pop('tippecanoe')

0 commit comments

Comments
 (0)