Example #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
Example #2
0
	def __init__(self):
		Webserver.__init__(self,HOST_NAME,PORT_NUMBER)
		MZBot.__init__(self,MZQ_URL)
Example #3
0
 def __init__(self):
     Webserver.__init__(self, HOST_NAME, PORT_NUMBER)
     MZBot.__init__(self, MZQ_URL)
Example #4
0
 def __init__(self, url):
     self.luid = None
     self.db = os.path.join(os.path.dirname(os.path.realpath(__file__)),
                            'mz.db')
     MZBot.__init__(self, url)
Example #5
0
 def __init__(self,url):
     self.uid = None
     self.btn = USButton('/dev/input/by-id/usb-Eric_USB_Button-event-if00')
     self.btn.callback = lambda x: self.btn_press(x)
     MZBot.__init__(self,url)
Example #6
0
 def __init__(self, url):
     self.uid = None
     self.btn = USButton('/dev/input/by-id/usb-Eric_USB_Button-event-if00')
     self.btn.callback = lambda x: self.btn_press(x)
     MZBot.__init__(self, url)
Example #7
0
	def __init__(self,url):
		self.luid=None
		self.db=os.path.join(os.path.dirname(os.path.realpath(__file__)),'mz.db')
		MZBot.__init__(self,url)