code clean
code clean
This commit is contained in:
parent
5c2ab81e16
commit
1847ea5f34
14 changed files with 54 additions and 22 deletions
|
|
@ -15,15 +15,20 @@
|
|||
# along with this program; if not, write to the Free Software
|
||||
# Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
|
||||
|
||||
|
||||
from __future__ import with_statement
|
||||
|
||||
from logging import warning
|
||||
|
||||
from weboob.core.backend import BaseBackend
|
||||
from weboob.capabilities.messages import ICapMessages, Message
|
||||
from weboob.tools.backend import BaseBackend
|
||||
|
||||
from .browser import FourChan
|
||||
|
||||
|
||||
__all__ = ['FourChanBackend']
|
||||
|
||||
|
||||
class FourChanBackend(BaseBackend, ICapMessages):
|
||||
NAME = 'fourchan'
|
||||
MAINTAINER = 'Romain Bignon'
|
||||
|
|
@ -32,7 +37,7 @@ class FourChanBackend(BaseBackend, ICapMessages):
|
|||
LICENSE = 'GPLv3'
|
||||
DESCRIPTION = "4chan website"
|
||||
|
||||
CONFIG = {'boards': BaseBackend.ConfigField(description='Boards'),
|
||||
CONFIG = {'boards': BaseBackend.ConfigField(description='Boards'),
|
||||
}
|
||||
STORAGE = {'boards': {}}
|
||||
BROWSER = FourChan
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue