From 304b3a1fe6003fbee66052806dc036a0f6818c61 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Philipp=20H=C3=B6rist?= Date: Sat, 16 Dec 2017 22:56:47 +0100 Subject: [PATCH] [omemo] Add missing argument Even if we dont need account for omemo, its easier to supply always the same count of arguments to all encrypt_file() plugin methods. --- omemo/omemoplugin.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/omemo/omemoplugin.py b/omemo/omemoplugin.py index e61182f..556fd00 100644 --- a/omemo/omemoplugin.py +++ b/omemo/omemoplugin.py @@ -191,7 +191,7 @@ class OmemoPlugin(GajimPlugin): file_crypto.FileDecryption(self).hyperlink_handler( url, kind, instance, window) - def encrypt_file(self, file, callback): + def encrypt_file(self, file, account, callback): thread = threading.Thread(target=self._encrypt_file_thread, args=(file, callback)) thread.daemon = True