From d530b8ef84ba71bb3f849e6139fe76d741c99e5e Mon Sep 17 00:00:00 2001 From: Yann Leboulanger Date: Wed, 19 Sep 2012 09:49:43 +0200 Subject: [PATCH] fix function argument. Fixes #7229 --- src/common/connection_handlers.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/common/connection_handlers.py b/src/common/connection_handlers.py index 2354cdcc9..8c03b1dcc 100644 --- a/src/common/connection_handlers.py +++ b/src/common/connection_handlers.py @@ -968,7 +968,7 @@ class ConnectionHandlersBase: if sess.enable_encryption: sess.terminate_e2e() - def decrypt_thread(encmsg, keyID, obj): + def decrypt_thread(self, encmsg, keyID, obj): decmsg = self.gpg.decrypt(encmsg, keyID) decmsg = self.connection.Dispatcher.replace_non_character(decmsg) # \x00 chars are not allowed in C (so in GTK)