PyBitmessage-2021-04-27/src/messagetypes/vote.py

9 lines
214 B
Python
Raw Normal View History

class Vote:
def __init__(self, data):
self.msgid = data["msgid"]
self.vote = data["vote"]
def process(self):
print "msgid: %s" % (self.msgid)
print "vote: %s" % (self.vote)