From 086240ffa230960819f67317759f9be5b4ad6c24 Mon Sep 17 00:00:00 2001 From: thurask Date: Sat, 14 Oct 2017 19:14:49 -0400 Subject: [PATCH] remove unnecessary check in findprd --- tclcheck_findprd.py | 2 -- 1 file changed, 2 deletions(-) diff --git a/tclcheck_findprd.py b/tclcheck_findprd.py index 40ecece..3904e66 100644 --- a/tclcheck_findprd.py +++ b/tclcheck_findprd.py @@ -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))