Browse Source

Added Provider Kere.ws

pull/990/head
pheelee 13 years ago
parent
commit
26b51f7143
  1. 2
      couchpotato/core/providers/nzb/kere/__init__.py
  2. 4
      couchpotato/core/providers/nzb/kere/main.py

2
couchpotato/core/providers/nzb/kere/__init__.py

@ -29,4 +29,4 @@ config = [{
], ],
}, },
], ],
}] }]

4
couchpotato/core/providers/nzb/kere/main.py

@ -4,7 +4,7 @@ from couchpotato.core.helpers.rss import RSS
from couchpotato.core.logger import CPLog from couchpotato.core.logger import CPLog
from couchpotato.core.providers.nzb.base import NZBProvider from couchpotato.core.providers.nzb.base import NZBProvider
from couchpotato.environment import Env from couchpotato.environment import Env
from dateutil.parser import parse from libs.dateutil.parser import parse
import time import time
import xml.etree.ElementTree as XMLTree import xml.etree.ElementTree as XMLTree
@ -98,4 +98,4 @@ class Kere(NZBProvider, RSS):
return '&username=%s&apikey=%s' % (self.conf('username'), self.conf('api_key')) return '&username=%s&apikey=%s' % (self.conf('username'), self.conf('api_key'))
def isEnabled(self): def isEnabled(self):
return NZBProvider.isEnabled(self) and self.conf('username') and self.conf('api_key') return NZBProvider.isEnabled(self) and self.conf('username') and self.conf('api_key')
Loading…
Cancel
Save