Skip to content

Commit

Permalink
Merge pull request #18 from beckf/devel
Browse files Browse the repository at this point in the history
minor fix with current students
  • Loading branch information
beckf authored Jun 3, 2019
2 parents 4c2b6c5 + bbe1efc commit e84f2de
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion VERSION
Original file line number Diff line number Diff line change
@@ -1 +1 @@
1.6.1
1.6.2
3 changes: 2 additions & 1 deletion main.py
Original file line number Diff line number Diff line change
Expand Up @@ -258,8 +258,9 @@ def create_update_customer(self):
return None

for i in vcdata:
if str(i["current_grade"]) == self.ui.combo_SyncGradeLevel.currentText() or \
if ("current_grade" in i and i["current_grade"] == self.ui.combo_SyncGradeLevel.currentText()) or \
self.ui.combo_SyncGradeLevel.currentText() == "None":

hh = self.vc.pull("households/" + str(i["household_fk"]))
h = hh["household"]
param = dict(load_relations='all', limit=1, companyRegistrationNumber=str(i["person_pk"]))
Expand Down

0 comments on commit e84f2de

Please sign in to comment.