Skip to content

Commit

Permalink
https://github.com/mwasilak/txThings/issues/26
Browse files Browse the repository at this point in the history
  • Loading branch information
engrjislam committed Jan 21, 2020
1 parent ebf605e commit e4673d3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion txthings/coap.py
Original file line number Diff line number Diff line change
Expand Up @@ -812,7 +812,7 @@ def __init__(self, endpoint):
def datagramReceived(self, data, remote):
host, port = remote
log.msg("Received %r from %s:%d" % (data, host, port))
message = Message.decode(data, (ip_address(host), port), self)
message = Message.decode(data, (ip_address(unicode(host)), port), self)
if self.deduplicateMessage(message) is True:
return
if isRequest(message.code):
Expand Down

0 comments on commit e4673d3

Please sign in to comment.