init_var ==> init_vars

This commit is contained in:
Nikos Kouremenos 2005-12-08 09:46:59 +00:00
parent 34255e5682
commit 2b86fc98da
2 changed files with 3 additions and 3 deletions

View File

@ -81,9 +81,9 @@ class Logger:
# this can happen only the first time (the time we create the db)
# db is not created here but in src/common/checks_paths.py
return
self.init_var()
self.init_vars()
def init_var(self):
def init_vars(self):
# if locked, wait up to 20 sec to unlock
# before raise (hopefully should be enough)
self.con = sqlite.connect(LOG_DB_PATH, timeout = 20.0,

View File

@ -1474,7 +1474,7 @@ if __name__ == '__main__':
gobject.timeout_add(500, wait_migration, m)
gtk.main()
# Init logger values (self.con/cur, jid_already_in)
gajim.logger.init_var()
gajim.logger.init_vars()
check_paths.check_and_possibly_create_paths()
Interface()