reorganization of config management
This commit is contained in:
parent
d15365fe26
commit
29400eb185
9 changed files with 135 additions and 56 deletions
|
|
@ -25,11 +25,10 @@ from types import MethodType
|
|||
|
||||
from weboob import Weboob
|
||||
from weboob.capabilities.travel import ICapTravel
|
||||
from weboob.tools.application import BaseApplication
|
||||
from weboob.tools.application import ConsoleApplication
|
||||
|
||||
class Application(BaseApplication):
|
||||
class Travel(ConsoleApplication):
|
||||
APPNAME = 'travel'
|
||||
CONFIG = {}
|
||||
|
||||
def main(self, argv):
|
||||
self.weboob.load_modules(ICapTravel)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue