2
0
mirror of https://expo.survex.com/repositories/troggle/.git synced 2024-11-21 23:01:52 +00:00
This commit is contained in:
Philip Sargent 2020-05-20 13:40:09 +01:00
parent 819eca5dea
commit 15d0d05185

View File

@ -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..."