From 1010311403ba04c37bc548ef6ac6aeea1528dec0 Mon Sep 17 00:00:00 2001 From: Paul van Tilburg Date: Mon, 29 May 2023 16:35:48 +0200 Subject: [PATCH] Don't provide the map for the PAQI metric (it is pollen only) --- src/maps.rs | 1 - 1 file changed, 1 deletion(-) diff --git a/src/maps.rs b/src/maps.rs index c407139..50d5f12 100644 --- a/src/maps.rs +++ b/src/maps.rs @@ -567,7 +567,6 @@ pub(crate) async fn mark_map( tokio::task::spawn_blocking(move || { let maps = maps_handle.lock().expect("Maps handle lock was poisoned"); let image = match metric { - Metric::PAQI => maps.pollen_mark(position), Metric::Pollen => maps.pollen_mark(position), Metric::UVI => maps.uvi_mark(position), _ => return Err(crate::Error::UnsupportedMetric(metric)),