Cache improvements

This commit is contained in:
2015-06-11 16:35:56 -05:00
parent 7b07d43477
commit 4fd57a71b9
2 changed files with 5 additions and 3 deletions

View File

@@ -406,5 +406,7 @@ class Session(object):
except:
output.speak("An exception occurred while deshelving the " + application.name + " database. It will be deleted and rebuilt automatically. If this error persists, send the error log to the " + application.name + " developers.",True)
log.exception("Exception while deshelving" + shelfname)
os.remove(shelfname)
try:
os.remove(shelfname)
except:
pass