mirror of
https://github.com/MCV-Software/TWBlue.git
synced 2024-11-26 12:53:12 -06:00
Fixed a typo.
This commit is contained in:
parent
3a5eeed372
commit
6e294ca0da
@ -365,7 +365,7 @@ class Session(object):
|
|||||||
"Shelve the database to allow for persistance."
|
"Shelve the database to allow for persistance."
|
||||||
shelfname=paths.config_path(str(self.session_id)+".db")
|
shelfname=paths.config_path(str(self.session_id)+".db")
|
||||||
try:
|
try:
|
||||||
if not os.exists(shelfname):
|
if not os.path.exists(shelfname):
|
||||||
output.speak("Generating database, this might take a while.",True)
|
output.speak("Generating database, this might take a while.",True)
|
||||||
shelf=shelve.open(paths.config_path(shelfname),'c')
|
shelf=shelve.open(paths.config_path(shelfname),'c')
|
||||||
for key,value in self.db.items():
|
for key,value in self.db.items():
|
||||||
|
Loading…
Reference in New Issue
Block a user