diff --git a/sat/plugins/plugin_comp_file_sharing_management.py b/sat/plugins/plugin_comp_file_sharing_management.py index f896abca..4ae3aadc 100644 --- a/sat/plugins/plugin_comp_file_sharing_management.py +++ b/sat/plugins/plugin_comp_file_sharing_management.py @@ -275,7 +275,8 @@ class FileSharingManagement(object): allowed_jids = None else: try: - allowed_jids = [jid.JID(v.strip()) for v in read_allowed.values] + allowed_jids = [jid.JID(v.strip()) for v in read_allowed.values + if v.strip()] except RuntimeError as e: log.warning(_(u"Can't use read_allowed values: {reason}").format( reason=e))