diff options
author | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
---|---|---|
committer | Walter Purcaro <vuolter@users.noreply.github.com> | 2015-10-23 04:32:27 +0200 |
commit | 3758f5e1dfccc70e4bb733e4e6a5932967bbf787 (patch) | |
tree | ec63a2793dcb45f0ab99332c0155572e3c62e129 /module/plugins/hooks/XFileSharing.py | |
parent | [SimpleCrypter] check_errors (diff) | |
download | pyload-3758f5e1dfccc70e4bb733e4e6a5932967bbf787.tar.xz |
Fix XFS plugins
Diffstat (limited to 'module/plugins/hooks/XFileSharing.py')
-rw-r--r-- | module/plugins/hooks/XFileSharing.py | 6 |
1 files changed, 3 insertions, 3 deletions
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('.', '\.') |