Skip to content

Commit

Permalink
fix: 🐛 Fix bug in __init__ of ThermalEventInstance
Browse files Browse the repository at this point in the history
  • Loading branch information
egrelier committed Aug 8, 2023
1 parent 1880f95 commit cc0a576
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion thermal_events/thermal_event_instance.py
Original file line number Diff line number Diff line change
Expand Up @@ -274,7 +274,7 @@ def __init__(
self._confidence = None

for key, value in kwargs.items():
if key == "polygon":
if key == "polygon" and value != "":
if not isinstance(value, str):
rect = bounding_rectangle(value)
value = polygon_to_string(value)
Expand Down

0 comments on commit cc0a576

Please sign in to comment.