From 7604fac314c8431f59fd740c33845bea367896c2 Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 11 Jan 2006 07:42:30 +0000 Subject: [PATCH] fix a bug in migration with python2.3 --- src/gajim.py | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/gajim.py b/src/gajim.py index 9bf895331..1705db7a6 100755 --- a/src/gajim.py +++ b/src/gajim.py @@ -1548,6 +1548,10 @@ if __name__ == '__main__': # Force GTK to really destroy the window while gtk.events_pending(): gtk.main_iteration(False) + # We can't use a SQLite object in another thread than the one in + # which it was created, so create a new Migration instance + del m + m = migrate_logs_to_dot9_db.Migration() m.migrate() # Init logger values (self.con/cur, jid_already_in) gajim.logger.init_vars()