From 8a703266df2926f060f67592ee8103fbf19fcb9c Mon Sep 17 00:00:00 2001 From: "J. Ungermann" Date: Tue, 12 Sep 2023 13:28:42 -0800 Subject: [PATCH] Fix syntax error in logging formatting string. (#2035) Fix issue #2034 --- mslib/msui/multilayers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mslib/msui/multilayers.py b/mslib/msui/multilayers.py index b1bb8fc3a..1cd38edb6 100644 --- a/mslib/msui/multilayers.py +++ b/mslib/msui/multilayers.py @@ -637,7 +637,7 @@ def _parse_vtimes(self): values = self.extents[self.vtime_name]["values"] self.allowed_valid_times = sorted(self.parent.dock_widget.parse_time_extent(values)) while len(self.allowed_valid_times) > 1000: - logging.warning("Too many valid times (%s). discarding 90%.", len(self.allowed_valid_times)) + logging.warning("Too many valid times (%s). discarding 90%%.", len(self.allowed_valid_times)) self.allowed_valid_times = self.allowed_valid_times[::10] self.vtimes = [_time.isoformat() + "Z" for _time in self.allowed_valid_times] if len(self.allowed_valid_times) == 0: