Fix indentation in chksum.py. Added one hwid.

This commit is contained in:
Markus Birth 2020-05-11 16:34:46 +02:00
parent 8a43b526de
commit 2668bbcb05
Signed by: mbirth
GPG Key ID: A9928D7A098C3A9A
2 changed files with 2 additions and 1 deletions

View File

@ -15,7 +15,7 @@ class ChkSum:
with open(filename, "rb") as f: with open(filename, "rb") as f:
while True: while True:
block = f.read(blocksize) block = f.read(blocksize)
if len(block) != 0: if len(block) != 0:
self.add(block) self.add(block)
if print_progress: if print_progress:
print(".", end="", flush=True) print(".", end="", flush=True)

View File

@ -1076,6 +1076,7 @@ DEVICES = {
3517: "Approach Z82, Sensor Hub", 3517: "Approach Z82, Sensor Hub",
3519: "Approach G80 ASIA", 3519: "Approach G80 ASIA",
3526: "Approach Z82", 3526: "Approach Z82",
3527: "Approach Z82, Aux",
3535: "Captain Marvel APAC", 3535: "Captain Marvel APAC",
3536: "First Avenger APAC", 3536: "First Avenger APAC",
3537: "Rey APAC", 3537: "Rey APAC",