From 270c1ee85edcd1e9e10511833b422d93dfca192a Mon Sep 17 00:00:00 2001 From: Walter Purcaro Date: Mon, 16 Feb 2015 22:38:45 +0100 Subject: Revert fcead1870013b6a970eca7878a66dbe783c80ea3 --- pyload/plugin/Addon.py | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) (limited to 'pyload/plugin/Addon.py') diff --git a/pyload/plugin/Addon.py b/pyload/plugin/Addon.py index 3525d4e4d..dc07a2513 100644 --- a/pyload/plugin/Addon.py +++ b/pyload/plugin/Addon.py @@ -23,15 +23,15 @@ def threaded(fn): class Addon(Base): - __name__ = "Addon" - __type__ = "addon" - __version__ = "0.01" + __name = "Addon" + __type = "addon" + __version = "0.01" - __config__ = [] #: [("name", "type", "desc", "default")] + __config = [] #: [("name", "type", "desc", "default")] - __description__ = """Base addon plugin""" - __license__ = "GPLv3" - __authors__ = [("mkaay", "mkaay@mkaay.de"), + __description = """Base addon plugin""" + __license = "GPLv3" + __authors = [("mkaay", "mkaay@mkaay.de"), ("RaNaN", "RaNaN@pyload.org")] @@ -100,7 +100,7 @@ class Addon(Base): def __repr__(self): - return "" % self.__name__ + return "" % self.__name def setup(self): @@ -119,7 +119,7 @@ class Addon(Base): def isActivated(self): """ checks if addon is activated""" - return self.core.config.getPlugin(self.__name__, "activated") + return self.core.config.getPlugin(self.__name, "activated") # Event methods - overwrite these if needed -- cgit v1.2.3