From afacc8d4c14a90d05e94d836cd188b0cda292e68 Mon Sep 17 00:00:00 2001 From: Goffi Date: Thu, 12 Nov 2020 14:53:15 +0100 Subject: [PATCH] plugin XEP-0329: minor reformatting --- sat/plugins/plugin_xep_0329.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/sat/plugins/plugin_xep_0329.py b/sat/plugins/plugin_xep_0329.py index c3916908..fc039ba7 100644 --- a/sat/plugins/plugin_xep_0329.py +++ b/sat/plugins/plugin_xep_0329.py @@ -357,7 +357,8 @@ class XEP_0329(object): def profileConnected(self, client): if client.is_component: client._file_sharing_allowed_hosts = self.host.memory.getConfig( - 'component file_sharing', 'http_upload_allowed_hosts_list') or [client.host] + 'component file_sharing', + 'http_upload_allowed_hosts_list') or [client.host] else: client._XEP_0329_root_node = ShareNode( None,