mirror of
git://xwords.git.sourceforge.net/gitroot/xwords/xwords
synced 2024-12-28 09:58:30 +01:00
better shelf clearing
This commit is contained in:
parent
2c7128ad30
commit
d1f3648390
1 changed files with 1 additions and 1 deletions
|
@ -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():
|
||||||
|
|
Loading…
Reference in a new issue