Advertisement
Guest User

Untitled

a guest
Aug 5th, 2015
171
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. def to_json(self):
  2. return b'{{"{0}":{{"System":"{1}","Date":"{2}",' \
  3. '"Value":"{3}"}}}}'.format(self.check, self.mid,
  4. self.currenttime, self.value)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement