diff options
author | Philip Sargent <philip@Muscogee.localdomain> | 2020-05-20 13:40:09 +0100 |
---|---|---|
committer | Philip Sargent <philip@Muscogee.localdomain> | 2020-05-20 13:40:09 +0100 |
commit | 15d0d05185bccef50e3b29c3636c34150b3b7ddc (patch) | |
tree | e2939856e41571298a175c7240100218632f528a | |
parent | 819eca5deae9d8fae6b2111fca9195e04cd68697 (diff) | |
download | troggle-15d0d05185bccef50e3b29c3636c34150b3b7ddc.tar.gz troggle-15d0d05185bccef50e3b29c3636c34150b3b7ddc.tar.bz2 troggle-15d0d05185bccef50e3b29c3636c34150b3b7ddc.zip |
bugfix
-rw-r--r-- | parsers/survex.py | 4 |
1 files 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..." |