changeset 3402:08a3e34aead1

plugin XEP-0329: minor reformatting
author Goffi <goffi@goffi.org>
date Thu, 12 Nov 2020 14:53:15 +0100
parents 5c97ad3d1653
children 404d4b29de52
files sat/plugins/plugin_xep_0329.py
diffstat 1 files changed, 2 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/sat/plugins/plugin_xep_0329.py	Thu Nov 12 14:53:15 2020 +0100
+++ b/sat/plugins/plugin_xep_0329.py	Thu Nov 12 14:53:15 2020 +0100
@@ -357,7 +357,8 @@
     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,