Esempio n. 1
0
class WebserverThread(threading.Thread):

	def __init__(self,conf):
		threading.Thread.__init__(self)
		self.conf = conf
		submit_conf = self.conf.getSection("SUBMIT_BOT")
		self.webserver = SubmitWebserver(submit_conf.port,self.conf)

	def run(self):
		self.webserver.serve()
Esempio n. 2
0
class WebserverThread(threading.Thread):

	def __init__(self,conf):
		threading.Thread.__init__(self)
		self.conf = conf
		submit_conf = self.conf.getSection("SUBMIT_BOT")
		self.webserver = SubmitWebserver(submit_conf.port,self.conf)

	def run(self):
		self.webserver.serve()
Esempio n. 3
0
	def __init__(self,conf):
		threading.Thread.__init__(self)
		self.conf = conf
		submit_conf = self.conf.getSection("SUBMIT_BOT")
		self.webserver = SubmitWebserver(submit_conf.port,self.conf)
Esempio n. 4
0
	def __init__(self,conf):
		threading.Thread.__init__(self)
		self.conf = conf
		submit_conf = self.conf.getSection("SUBMIT_BOT")
		self.webserver = SubmitWebserver(submit_conf.port,self.conf)