Exemplo n.º 1
0
 def __init__(self):
     super(MediathekViewPlugin, self).__init__()
     self.settings = Settings()
     self.notifier = Notifier()
     self.database = Store(self.get_new_logger('Store'), self.notifier,
                           self.settings)
     self.unicodePath = unicode(self.path, 'utf-8')
 def init(self, convert=False):
     """ Initializes the updater """
     if self.database is not None:
         self.exit()
     self.database = Store(self.logger, self.notifier, self.settings)
     self.database.init(convert=convert)
 def Init(self, convert=False):
     if self.db is not None:
         self.Exit()
     self.db = Store(self.logger, self.notifier, self.settings)
     self.db.Init(convert=convert)
 def Init(self):
     if self.db is not None:
         self.Exit()
     self.db = Store(self.logger, self.notifier, self.settings)
     self.db.Init()
Exemplo n.º 5
0
 def __init__(self):
     super(MediathekView, self).__init__()
     self.settings = Settings()
     self.notifier = Notifier()
     self.database = Store(self.getNewLogger('Store'), self.notifier,
                           self.settings)