logout() now removes database for the session

This commit is contained in:
2015-08-19 05:28:56 -05:00
parent 80cb70c9a6
commit bb6fa7cb46
3 changed files with 6 additions and 3 deletions

View File

@@ -119,7 +119,8 @@ class Session(object):
# self.settings = None
def init_sound(self):
self.sound = sound.soundSystem(self.settings["sound"])
try: self.sound = sound.soundSystem(self.settings["sound"])
except: pass
@_require_configuration
def login(self, verify_credentials=True):