remove some line that were for tests

This commit is contained in:
Yann Leboulanger 2005-12-02 11:20:25 +00:00
parent 4527348bf1
commit 796b26883d
2 changed files with 1 additions and 2 deletions

View File

@ -48,7 +48,7 @@ if os.name == 'nt':
PATH_TO_DB = '../src/logs.db'
else:
PATH_TO_LOGS_BASE_DIR = os.path.expanduser('~/.gajim/logs')
PATH_TO_DB = os.path.expanduser('~/.gajim/logs2.db') # database is called logs.db
PATH_TO_DB = os.path.expanduser('~/.gajim/logs.db') # database is called logs.db
if os.path.exists(PATH_TO_DB):
print '%s already exists. Exiting..' % PATH_TO_DB

View File

@ -1462,7 +1462,6 @@ if __name__ == '__main__':
pass
# Migrate old logs if user wnats that
NO_DB = True
if NO_DB:
dialog = dialogs.ConfirmationDialog(_('It is the first time you rin Gajim since the way logs are save changed. You can ask Gajim to migrate your old logs by pressing Ok button. This can take some minutes.'), _('Do you want to migrate your logs?'))
if dialog.get_response() == gtk.RESPONSE_OK: