Welcome to mirror list, hosted at ThFree Co, Russian Federation.

dev.gajim.org/gajim/gajim.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/common/logger.py')
-rw-r--r--src/common/logger.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/logger.py b/src/common/logger.py
index c9e610f2d..c7f79b396 100644
--- a/src/common/logger.py
+++ b/src/common/logger.py
@@ -749,7 +749,7 @@ class Logger:
sql = 'DELETE FROM caps_cache WHERE hash_method = "%s" AND hash = "%s"' % (hash_method, hash)
self.simple_commit(sql)
- def add_caps_entry(self, hash_method, hash, identities, features):
+ def add_caps_entry(self, hash_method, hash_, identities, features):
data=[]
for identity in identities:
# there is no FEAT category
@@ -770,7 +770,7 @@ class Logger:
self.cur.execute('''
INSERT INTO caps_cache ( hash_method, hash, data )
VALUES (?, ?, ?);
- ''', (hash_method, hash, buffer(data))) # (1) -- note above
+ ''', (hash_method, hash_, buffer(data))) # (1) -- note above
try:
self.con.commit()
except sqlite.OperationalError, e: