Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- --- /usr/local/lib/python2.7/dist-packages/yowsup2-2.5.2-py2.7.egg/yowsup/layers/protocol_media/protocolentities/message_media_location.py.orig 2017-09-15 00:50:51.375838803 +0200
- +++ /usr/local/lib/python2.7/dist-packages/yowsup2-2.5.2-py2.7.egg/yowsup/layers/protocol_media/protocolentities/message_media_location.py 2017-09-15 00:34:09.587412918 +0200
- @@ -54,7 +54,7 @@
- def toProtocolTreeNode(self):
- node = super(LocationMediaMessageProtocolEntity, self).toProtocolTreeNode()
- - mediaNode = node.getChild("media")
- + mediaNode = node.getChild("enc")
- mediaNode.setAttribute("latitude", self.latitude)
- mediaNode.setAttribute("longitude", self.longitude)
- mediaNode.setAttribute("encoding", self.encoding)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement