Advertisement
natsfr

Untitled

Feb 4th, 2017
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.52 KB | None | 0 0
  1.     def BHYClicked(self):
  2.         print "ok" #self.label.setText("Bonjour"+self.Edit.text())
  3.         command.cmd('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
  4.         travel = 100
  5.         return travel
  6.  
  7.     def BHZClicked(self):
  8.         print "ok" #self.label.setText("Bonjour"+self.Edit.text())
  9.         command.cmd('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
  10.         print ('{"command": "M107"}','X-Api-Key: 054E508852624649B8B250B341CFF639')
  11.         travel = BHYClicked()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement