You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

18 lines
370 B

14 years ago
from couchpotato.core.event import addEvent
from couchpotato.core.plugins.base import Plugin
14 years ago
14 years ago
class Downloader(Plugin):
def __init__(self):
addEvent('download', self.download)
def download(self, data = {}):
pass
def isDisabled(self):
return not self.isEnabled()
def isEnabled(self):
return self.conf('enabled', True)