removing trailing spaces
This commit is contained in:
@@ -1,6 +1,5 @@
|
||||
import struct
|
||||
|
||||
def struct_unpack(data, counter, fmt):
|
||||
def struct_unpack(data, counter, fmt):
|
||||
fmt_size = struct.calcsize(fmt)
|
||||
return (counter+fmt_size,) + struct.unpack (fmt, data[counter:counter+fmt_size])
|
||||
|
||||
Reference in New Issue
Block a user