diff options
author | Guilhem Moulin <guilhem@fripost.org> | 2025-07-23 16:01:03 +0200 |
---|---|---|
committer | Guilhem Moulin <guilhem@fripost.org> | 2025-07-23 16:01:03 +0200 |
commit | 5693db925731efe67aafcdc8ac93ca7e17eaabf9 (patch) | |
tree | 92e42ea1b4a5a73b2e677aa64d23e12d6786a1ad /export_raster.py | |
parent | af7ca4caa8c263adcffe9433d9961e69f47ed23c (diff) |
Fix logic error.
Diffstat (limited to 'export_raster.py')
-rw-r--r-- | export_raster.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/export_raster.py b/export_raster.py index 32dff56..f16e140 100644 --- a/export_raster.py +++ b/export_raster.py @@ -80,7 +80,7 @@ def processRaster(layername : str, last_modified_ns = max(last_modified.values()) * 1000000 try: st = os.stat(str(dst)) - if st.st_mtime_ns <= last_modified_ns: + if last_modified_ns <= st.st_mtime_ns: logging.info('Output directory "%s" is up to date, skipping', str(dst)) return except (OSError, ValueError): |