Skip to content

Commit

Permalink
Fix syntax error in logging formatting string. (#2035)
Browse files Browse the repository at this point in the history
Fix issue #2034
  • Loading branch information
joernu76 authored Sep 12, 2023
1 parent eef3c91 commit 8a70326
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion mslib/msui/multilayers.py
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8a70326

Please sign in to comment.