Skip to content

Commit

Permalink
Bugfix
Browse files Browse the repository at this point in the history
  • Loading branch information
martin-green committed Nov 13, 2021
1 parent e951c24 commit 2ca6e75
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dataimport.py
Original file line number Diff line number Diff line change
Expand Up @@ -235,8 +235,8 @@ def DoImport(self, data, semester):
# search among the TroopPersons we are about to add to the database
for tpcandidate in troopPersonsToSave:
if tpcandidate.troop == troop.key and tpcandidate.person == person.key:
tpcandidate.leader = True
tp = tpcandidate
tp.leader = True
break

if tp is None:
Expand Down

0 comments on commit 2ca6e75

Please sign in to comment.