Auto register static files
This commit is contained in:
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()
|
||||
|
||||
Reference in new issue
Block a user