diff --git a/server/main.py b/server/main.py index b375edd484a69dcab73bac90e2dfb74f21a0c17e..0bbb4ff857d91e1128bf89b2fac348549f32d608 100644 --- a/server/main.py +++ b/server/main.py @@ -108,11 +108,11 @@ class IceHTTP(BaseHTTPRequestHandler): try: # Try to convert the value to a float and the map cell_size_float = float(cell_size_param) - cut_map_handler(self, cursor, lake_name, cell_size_float) + cut_map_handler(self, cursor, lake_name.lower(), cell_size_float) except ValueError: print("Error: cell_size_param is not a valid float") else: - cut_map_handler(self, cursor, lake_name) + cut_map_handler(self, cursor, lake_name.lower()) else: self.send_response(400) self.send_header('Content-type', 'application/json')