Fixed a typo.

This commit is contained in:
Bill Dengler 2015-05-02 04:04:29 -04:00
parent 3a5eeed372
commit 6e294ca0da

View File

@ -365,7 +365,7 @@ class Session(object):
"Shelve the database to allow for persistance."
shelfname=paths.config_path(str(self.session_id)+".db")
try:
if not os.exists(shelfname):
if not os.path.exists(shelfname):
output.speak("Generating database, this might take a while.",True)
shelf=shelve.open(paths.config_path(shelfname),'c')
for key,value in self.db.items():