Skip to content

Commit

Permalink
Add a missing closing bracket
Browse files Browse the repository at this point in the history
  • Loading branch information
ivanhrabcak committed Feb 17, 2021
1 parent 0b744de commit 7273260
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions edupage_api/people.py
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ def __sort__(self):
return self.number_in_class

def __str__(self):
return "{gender: %s, name: %s, id: %d, number: %s, is_out: %s" % (self.gender, self.fullname, self.id, self.number_in_class, self.is_out)
return "{gender: %s, name: %s, id: %d, number: %s, is_out: %s}" % (self.gender, self.fullname, self.id, self.number_in_class, self.is_out)

class EduTeacher:
def __init__(self, gender, firstname, lastname, teacher_id, classroom, is_out):
Expand All @@ -26,4 +26,3 @@ def __init__(self, gender, firstname, lastname, teacher_id, classroom, is_out):

def __str__(self):
return "{gender: %s, name: %s, id: %d, classroom: %s, is_out: %s}" % (self.gender, self.fullname, self.id, self.classroom, self.is_out)

0 comments on commit 7273260

Please sign in to comment.