fix var name

This commit is contained in:
Yann Leboulanger 2011-08-25 00:03:03 +02:00
parent 0f3ea82e4c
commit e942d8bcd5
1 changed files with 2 additions and 2 deletions

View File

@ -1121,11 +1121,11 @@ class Logger:
obj.conn.last_history_time[obj.jid] = time.mktime(obj.timestamp)
except exceptions.PysqliteOperationalError, e:
self.conn.dispatch('DB_ERROR', (_('Disk Write Error'), str(e)))
obj.conn.dispatch('DB_ERROR', (_('Disk Write Error'), str(e)))
except exceptions.DatabaseMalformed:
pritext = _('Database Error')
sectext = _('The database file (%s) cannot be read. Try to '
'repair it (see http://trac.gajim.org/wiki/DatabaseBackup) '
'or remove it (all history will be lost).') % \
LOG_DB_PATH
self.conn.dispatch('DB_ERROR', (pritext, sectext))
obj.conn.dispatch('DB_ERROR', (pritext, sectext))