From a915a26c8c73020b1a696ab2ab7ccd9c12c4b454 Mon Sep 17 00:00:00 2001 From: palewire Date: Fri, 12 Apr 2024 06:13:54 -0400 Subject: [PATCH] Update --- inciweb_wildfires/__init__.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/inciweb_wildfires/__init__.py b/inciweb_wildfires/__init__.py index 991db28..3b44287 100644 --- a/inciweb_wildfires/__init__.py +++ b/inciweb_wildfires/__init__.py @@ -46,7 +46,7 @@ def get_incidents() -> FeatureCollection: def convert_coords(deg: str, min: str, sec: str) -> float: """Handle the flawed coordinates published by InciWeb.""" if not min.strip(): - min = 0 + min = '0' if not sec.strip(): - sec = 0 + sec = '0' return float(deg) + (float(min) / 60) + (float(sec) / 3600)