mirror of
https://github.com/romanz/amodem.git
synced 2026-05-01 15:07:24 +08:00
pylint: fix issues
This commit is contained in:
@@ -47,7 +47,7 @@ def bytes2num(s):
|
||||
|
||||
def num2bytes(value, size):
|
||||
res = []
|
||||
for i in range(size):
|
||||
for _ in range(size):
|
||||
res.append(value & 0xFF)
|
||||
value = value >> 8
|
||||
assert value == 0
|
||||
|
||||
Reference in New Issue
Block a user