aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorGuilhem Moulin <guilhem@fripost.org>2024-06-04 02:48:59 +0200
committerGuilhem Moulin <guilhem@fripost.org>2024-06-04 02:49:24 +0200
commit94263348e820eca8772fa7ef891a3df5944db651 (patch)
treecb0ded4bf37c44fa50838f761dceb1b773e61944
parent8b80ee048f2733ded8e981a063f1f836d47283dd (diff)
webmap-download-mrr: Don't print request count when skipping the layer.
-rw-r--r--webmap-download-mrr.py1
1 files changed, 1 insertions, 0 deletions
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