fix function argument. Fixes #7229

This commit is contained in:
Yann Leboulanger 2012-09-19 09:49:43 +02:00
parent 3312ab2143
commit d530b8ef84
1 changed files with 1 additions and 1 deletions

View File

@ -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)