better shelf clearing

This commit is contained in:
Eric House 2014-06-24 08:16:01 -07:00
parent 2c7128ad30
commit d1f3648390

View file

@ -417,7 +417,7 @@ def getUpdates( req, params ):
def clearShelf(): def clearShelf():
shelf = shelve.open(k_shelfFile) shelf = shelve.open(k_shelfFile)
shelf[k_SUMS] = {} for key in shelf: del shelf[key]
shelf.close() shelf.close()
def usage(): def usage():