From 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Fri, 23 Oct 2015 04:32:27 +0200 Subject: Fix XFS plugins --- module/plugins/hooks/XFileSharing.py | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'module/plugins/hooks/XFileSharing.py') diff --git a/module/plugins/hooks/XFileSharing.py b/module/plugins/hooks/XFileSharing.py index 2677fbd04..20a3af4c1 100644 --- a/module/plugins/hooks/XFileSharing.py +++ b/module/plugins/hooks/XFileSharing.py @@ -9,7 +9,7 @@ from module.plugins.internal.Addon import Addon class XFileSharing(Addon): __name__ = "XFileSharing" __type__ = "hook" - __version__ = "0.48" + __version__ = "0.50" __status__ = "testing" __config__ = [("activated" , "bool", "Activated" , True ), @@ -92,8 +92,8 @@ class XFileSharing(Addon): for p in self.pyload.pluginManager.plugins[type].values(): klass = self.pyload.pluginManager.loadClass(type, p['name']) - if hasattr(klass, "HOSTER_DOMAIN") and klass.HOSTER_DOMAIN and isXFS(klass): - plugin_list.append(klass.HOSTER_DOMAIN) + if hasattr(klass, "PLUGIN_DOMAIN") and klass.PLUGIN_DOMAIN and isXFS(klass): + plugin_list.append(klass.PLUGIN_DOMAIN) if plugin_list: unmatch_list = '|'.join(sorted(plugin_list)).replace('.', '\.') -- cgit v1.2.3