Exemplo n.º 1
0
    def __init__(self, username, password, save_dir=None):
        Webserver.__init__(self, HOST_NAME, PORT_NUMBER)
        MZBot.__init__(self, MZQ_URL)

        self.sh = snaphax.Snaphax()
        self.username = username
        self.password = password
        self.save_dir = save_dir
Exemplo n.º 2
0
	def __init__(self,debug=False):
		self.debug=debug

		mm=ModuleManager(settings.MODULES)
		sm=StaticManager(settings.STATICS)
		bm=BackgroundManager(settings.BACKGROUNDS)

		self.q = MZQueue(mm,sm,bm)
		self.qm = MZQueueManager(self.q)
		self.qm.start()

		Webserver.__init__(self,HOST_NAME, PORT_NUMBER)
Exemplo n.º 3
0
    def __init__(self, debug=False):
        self.debug = debug

        mm = ModuleManager(settings.MODULES)
        sm = StaticManager(settings.STATICS)
        bm = BackgroundManager(settings.BACKGROUNDS)

        self.q = MZQueue(mm, sm, bm)
        self.qm = MZQueueManager(self.q)
        self.qm.start()

        Webserver.__init__(self, HOST_NAME, PORT_NUMBER)
Exemplo n.º 4
0
	def __init__(self):
		Webserver.__init__(self,HOST_NAME,PORT_NUMBER)
		MZBot.__init__(self,MZQ_URL)
Exemplo n.º 5
0
 def __init__(self):
     Webserver.__init__(self, HOST_NAME, PORT_NUMBER)
     MZBot.__init__(self, MZQ_URL)
Exemplo n.º 6
0
	def __init__(self):
		Webserver.__init__(self,HOST_NAME,PORT_NUMBER)
Exemplo n.º 7
0
 def __init__(self):
     Webserver.__init__(self, HOST_NAME, PORT_NUMBER)