##// END OF EJS Templates
zeroconf: fix an issue concatenating bytes and str...
Matt Harbison -
r48678:ad2c3707 stable
parent child Browse files
Show More
@@ -770,7 +770,7 b' class DNSOutgoing(object):'
770 770
771 771 def writeString(self, value, length):
772 772 """Writes a string to the packet"""
773 format = b'!' + str(length) + b's'
773 format = '!' + str(length) + 's'
774 774 self.data.append(struct.pack(format, value))
775 775 self.size += length
776 776
General Comments 0
You need to be logged in to leave comments. Login now