From 2b86fc98da28752b2e0eeb4fc267e39ba24ffb54 Mon Sep 17 00:00:00 2001 From: Nikos Kouremenos Date: Thu, 8 Dec 2005 09:46:59 +0000 Subject: [PATCH] init_var ==> init_vars --- src/common/logger.py | 4 ++-- src/gajim.py | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/common/logger.py b/src/common/logger.py index 1fb14b3c0..c23337624 100644 --- a/src/common/logger.py +++ b/src/common/logger.py @@ -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, diff --git a/src/gajim.py b/src/gajim.py index 1a0521640..f1c08e378 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -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()