Skip to content

Commit

Permalink
rm useless strip
Browse files Browse the repository at this point in the history
  • Loading branch information
GregoireLamb authored and apacha committed Jun 11, 2024
1 parent 26b920a commit dfb73a6
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mung/node.py
Original file line number Diff line number Diff line change
Expand Up @@ -813,7 +813,7 @@ def decode_mask_rle(mask_string: str, shape) -> Optional[numpy.ndarray]:
mask_flat = numpy.zeros(shape[0]*shape[1], numpy.uint8)
index = 0

mask_string = mask_string.strip().rstrip()
mask_string = mask_string.rstrip()

for kv in mask_string.split(' '):
k_string, v_string = kv.split(':')
Expand Down

0 comments on commit dfb73a6

Please sign in to comment.