Skip to content

Commit daa5260

Browse files
authored
Fix condition for appending 'Train Assign'
Comparison isn't helpful because r.Training is the expiration, not the assignment date. Assignment SHOULD happen before expiration.
1 parent d05fd7d commit daa5260

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

BackgroundChecks/BackgroundChecks.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -107,7 +107,7 @@ def needs(r, p): # row, person
107107
n.append('Ssn')
108108

109109
if actionForDate(r.Training) != "Valid":
110-
if r.TrainAssign is None or r.Training > r.TrainAssign:
110+
if r.TrainAssign is None:
111111
n.append("Train Assign")
112112
else:
113113
n.append("Train Completion")

0 commit comments

Comments
 (0)