forked from expo/troggle
bugfix
This commit is contained in:
parent
819eca5dea
commit
15d0d05185
@ -502,8 +502,8 @@ def LoadPos():
|
|||||||
if now - updtcache > 3*24*60*60:
|
if now - updtcache > 3*24*60*60:
|
||||||
print " cache is more than 3 days old. Deleting."
|
print " cache is more than 3 days old. Deleting."
|
||||||
os.remove(cachefile)
|
os.remove(cachefile)
|
||||||
if age < 0 :
|
elif age < 0 :
|
||||||
print " cache is stale."
|
print " cache is stale. Deleting."
|
||||||
os.remove(cachefile)
|
os.remove(cachefile)
|
||||||
else:
|
else:
|
||||||
print " cache is fresh. Reading..."
|
print " cache is fresh. Reading..."
|
||||||
|
Loading…
Reference in New Issue
Block a user