mirror of
https://github.com/mbirth/tcl_ota_check.git
synced 2024-11-10 06:16:46 +00:00
remove unnecessary check in findprd
This commit is contained in:
parent
8ea30fe48d
commit
086240ffa2
@ -53,8 +53,6 @@ if args.tocheck is not None:
|
|||||||
for center in sorted(prddict.keys()):
|
for center in sorted(prddict.keys()):
|
||||||
tails = [int(i) for i in prddict[center]]
|
tails = [int(i) for i in prddict[center]]
|
||||||
safes = [g for g in range(floor, ceiling) if g not in tails]
|
safes = [g for g in range(floor, ceiling) if g not in tails]
|
||||||
if floor in tails:
|
|
||||||
floor = safes[0]
|
|
||||||
total_count = len(safes)
|
total_count = len(safes)
|
||||||
done_count = 0
|
done_count = 0
|
||||||
print("Checking {} variant codes for model {}.".format(total_count, center))
|
print("Checking {} variant codes for model {}.".format(total_count, center))
|
||||||
|
Loading…
Reference in New Issue
Block a user