diff --git a/trello/attachments.py b/trello/attachments.py index 6588313e..a3c3fa6b 100644 --- a/trello/attachments.py +++ b/trello/attachments.py @@ -9,7 +9,7 @@ class Attachments(TrelloBase): https://developers.trello.com/advanced-reference/card#get-1-cards-card-id-or-shortlink-attachments """ def __init__(self, id, bytes, date, edge_color, idMember, is_upload, mime_type, name, previews, url): - super().__init__() + super(Attachments, self).__init__() self.id = id self.bytes = bytes self.date = dateparser.parse(date) diff --git a/trello/board.py b/trello/board.py index 392bb03c..191e0ae1 100644 --- a/trello/board.py +++ b/trello/board.py @@ -29,7 +29,7 @@ def __init__(self, client=None, board_id=None, organization=None, name=''): :board_id: ID for this board """ - super().__init__() + super(Board, self).__init__() if organization is None: self.client = client else: diff --git a/trello/card.py b/trello/card.py index 7d9c9fe8..16c87ecc 100644 --- a/trello/card.py +++ b/trello/card.py @@ -121,7 +121,7 @@ def __init__(self, parent, card_id, name=''): :parent: reference to the parent trello list :card_id: ID for this card """ - super().__init__() + super(Card, self).__init__() if isinstance(parent, List): self.trello_list = parent self.board = parent.board diff --git a/trello/checklist.py b/trello/checklist.py index 775d1d9e..215fa214 100644 --- a/trello/checklist.py +++ b/trello/checklist.py @@ -11,7 +11,7 @@ class Checklist(TrelloBase): """ def __init__(self, client, checked, obj, trello_card=None): - super().__init__() + super(Checklist, self).__init__() self.client = client self.trello_card = trello_card self.id = obj['id'] diff --git a/trello/label.py b/trello/label.py index 4e193a79..7e97d60c 100644 --- a/trello/label.py +++ b/trello/label.py @@ -10,7 +10,7 @@ class Label(TrelloBase): Class representing a Trello Label. """ def __init__(self, client, label_id, name, color=""): - super().__init__() + super(Label, self).__init__() self.client = client self.id = label_id self.name = name diff --git a/trello/member.py b/trello/member.py index eddeb585..e384a75f 100644 --- a/trello/member.py +++ b/trello/member.py @@ -11,7 +11,7 @@ class Member(TrelloBase): """ def __init__(self, client, member_id, full_name=''): - super().__init__() + super(Member, self).__init__() self.client = client self.id = member_id self.full_name = full_name diff --git a/trello/organization.py b/trello/organization.py index 980cae3a..5677236c 100644 --- a/trello/organization.py +++ b/trello/organization.py @@ -14,7 +14,7 @@ class Organization(TrelloBase): Class representing an organization """ def __init__(self, client, organization_id, name=''): - super().__init__() + super(Organization, self).__init__() self.client = client self.id = organization_id self.name = name diff --git a/trello/trellolist.py b/trello/trellolist.py index 31667ee3..ea4f43c5 100644 --- a/trello/trellolist.py +++ b/trello/trellolist.py @@ -17,7 +17,7 @@ def __init__(self, board, list_id, name=''): :board: reference to the parent board :list_id: ID for this list """ - super().__init__() + super(List, self).__init__() self.board = board self.client = board.client self.id = list_id