Returning tuple instead of list

This commit is contained in:
Felipe Martin 2017-01-22 20:35:25 +01:00
parent 45aa71aadc
commit a94c81bff0
1 changed files with 1 additions and 1 deletions

View File

@ -57,7 +57,7 @@ class Packet(object):
pkt = filter(
lambda x: x is not None,
(self.get_byte(n) for n in range(8)))
return list(pkt)
return tuple(pkt)
class Luxafor(object):