Auto register static files

This commit is contained in:
Ruud committed 2011-08-24 12:02:40 +02:00
1 parent 9734521178
commit e8db94c831
16 files changed
+26 -31

No files matched your search

@@ -1,8 +1,6 @@
from couchpotato.core.event import addEvent
from couchpotato.core.logger import CPLog
from couchpotato.core.plugins.base import Plugin
from couchpotato.environment import Env
import os
log = CPLog(__name__)
@@ -1,4 +1,6 @@
from .main import IMDB
def start():
pass
return IMDB()
config = []
@@ -31,11 +31,6 @@ class Newznab(NZBProvider, RSS):
time_between_searches = 1 # Seconds
def __init__(self):
super(NZBProvider, self).__init__()
self.registerStatic(__file__)
def feed(self):
hosts = self.getHosts()