1
0
mirror of https://github.com/mbirth/tcl_ota_check.git synced 2024-11-09 22:06:47 +00:00

remove unnecessary check in findprd

This commit is contained in:
thurask 2017-10-14 19:14:49 -04:00
parent 8ea30fe48d
commit 086240ffa2
No known key found for this signature in database
GPG Key ID: A6CCCDEA29795048

View File

@ -53,8 +53,6 @@ if args.tocheck is not None:
for center in sorted(prddict.keys()):
tails = [int(i) for i in prddict[center]]
safes = [g for g in range(floor, ceiling) if g not in tails]
if floor in tails:
floor = safes[0]
total_count = len(safes)
done_count = 0
print("Checking {} variant codes for model {}.".format(total_count, center))