From 94263348e820eca8772fa7ef891a3df5944db651 Mon Sep 17 00:00:00 2001 From: Guilhem Moulin Date: Tue, 4 Jun 2024 02:48:59 +0200 Subject: webmap-download-mrr: Don't print request count when skipping the layer. --- webmap-download-mrr.py | 1 + 1 file changed, 1 insertion(+) diff --git a/webmap-download-mrr.py b/webmap-download-mrr.py index e273ed2..db3fda7 100644 --- a/webmap-download-mrr.py +++ b/webmap-download-mrr.py @@ -581,6 +581,7 @@ def download(dl, dest, dir_fd=None, headers={}, session=requests, progress=None) if wms.is_uptodate(layername, dest, dir_fd=dir_fd, oldsvg_fp=fp, newsvg=r.content): logging.info('%s appears to be up to date, skipping', dest) + wms.req_count = None # don't print request count return # not atomic, but not a big deal (only used for comparison and mismatch -- cgit v1.2.3