Skip to content
Snippets Groups Projects
Commit e942d8bc authored by Yann Leboulanger's avatar Yann Leboulanger
Browse files

fix var name

parent 0f3ea82e
No related branches found
No related tags found
No related merge requests found
......@@ -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))
\ No newline at end of file
obj.conn.dispatch('DB_ERROR', (pritext, sectext))
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment