Skip to content

Commit

Permalink
Remove an unnecessary conversion
Browse files Browse the repository at this point in the history
  • Loading branch information
jstasiak committed Feb 1, 2017
1 parent 11cb5bc commit 71dcca8
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion zeroconf.py
Original file line number Diff line number Diff line change
Expand Up @@ -845,7 +845,7 @@ def pack(self, format_, value):

def write_byte(self, value):
"""Writes a single byte to the packet"""
self.pack(b'!c', int2byte(value))
self.pack(b'!B', value)

def insert_short(self, index, value):
"""Inserts an unsigned short in a certain position in the packet"""
Expand Down

0 comments on commit 71dcca8

Please sign in to comment.