Commit a1e2041e authored by Philipp Hörist's avatar Philipp Hörist

Logger: Pass args in correct order

parent 3e020ef4
......@@ -1473,7 +1473,7 @@ def set_muc_avatar_sha(self, jid, sha=None):
self._con.execute(sql, (jid, sha))
except sqlite.IntegrityError:
sql = 'UPDATE muc_avatars SET avatar_sha = ? WHERE jid = ?'
self._con.execute(sql, (jid, sha))
self._con.execute(sql, (sha, jid))
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment