Support for 1.16-rc1
This commit is contained in:
1 parent
7d9ffb8836
commit
b582029099
17 files changed
+133
-36
No files matched your search
@@ -110,6 +110,8 @@ class Packet(object):
|
||||
str = type(self).__name__
|
||||
if self.id is not None:
|
||||
str = '0x%02X %s' % (self.id, str)
|
||||
elif hasattr(self, "packet_id"):
|
||||
str = 'pkt: 0x%02X %s' % (self.packet_id, str)
|
||||
fields = self.fields
|
||||
if fields is not None:
|
||||
inner_str = ', '.join('%s=%s' % (a, self.field_string(a))
|
||||
|
||||
Reference in new issue
Block a user