Exemple #1
0
def get_handle():
    global handle
    global syncdbs
    global localdb
    handle = config.handle()
    syncdbs = handle.get_syncdbs()
    localdb = handle.get_localdb()
Exemple #2
0
def get_handle():
    global handle
    global syncdbs
    global localdb
    handle = config.handle()
    syncdbs = handle.get_syncdbs()
    localdb = handle.get_localdb()
Exemple #3
0
	def get_handle(self):
		self.handle = config.handle()
		self.localdb = self.handle.get_localdb()
		self.syncdbs = self.handle.get_syncdbs()
		self.handle.dlcb = self.cb_dl
		self.handle.totaldlcb = self.totaldlcb
		self.handle.eventcb = self.cb_event
		self.handle.questioncb = self.cb_question
		self.handle.progresscb = self.cb_progress
		self.handle.logcb = self.cb_log
Exemple #4
0
 def get_handle(self):
     self.handle = config.handle()
     self.localdb = self.handle.get_localdb()
     self.syncdbs = self.handle.get_syncdbs()
     self.handle.dlcb = self.cb_dl
     self.handle.totaldlcb = self.totaldlcb
     self.handle.eventcb = self.cb_event
     self.handle.questioncb = self.cb_question
     self.handle.progresscb = self.cb_progress
     self.handle.logcb = self.cb_log