From 15d0d05185bccef50e3b29c3636c34150b3b7ddc Mon Sep 17 00:00:00 2001 From: Philip Sargent Date: Wed, 20 May 2020 13:40:09 +0100 Subject: [PATCH] bugfix --- parsers/survex.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/parsers/survex.py b/parsers/survex.py index 4fddf6c..9725ce7 100644 --- a/parsers/survex.py +++ b/parsers/survex.py @@ -502,8 +502,8 @@ def LoadPos(): if now - updtcache > 3*24*60*60: print " cache is more than 3 days old. Deleting." os.remove(cachefile) - if age < 0 : - print " cache is stale." + elif age < 0 : + print " cache is stale. Deleting." os.remove(cachefile) else: print " cache is fresh. Reading..."