Exemple #1
0
 def __init__(self):
     self._logger = get_logger('notifications')
     self._manager = NotifiersMng(
         paths=[join(get_toplevel_dir(), 'zizi', 'apps')],
         logger=self._logger
     )
     self._manager.add_addon('null', NullNotifier)
     self._manager.add_addon('none', NullNotifier)
     self._manager.add_addon('basic', BasicNotifier)
     self._notifiers = dict()
Exemple #2
0
 def __init__(self):
     super(AnalizersMng, self).__init__(paths=[join(
         get_toplevel_dir(),
         'zizi', 'apps', 'torrentspider', 'analizers'
     )])
Exemple #3
0
 def __init__(self):
     super(PluginManager, self).__init__(paths=[join(
         get_toplevel_dir(),
         'zizi', 'apps', 'classifier', 'plugins'
     )])