Skip to content

Commit

Permalink
python 2.7 super() call compatibility
Browse files Browse the repository at this point in the history
  • Loading branch information
bmacphee committed Jun 19, 2018
1 parent 56d2240 commit a8d0462
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion analyzere/resources.py
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@ class Candidate(NestedResource):

def __init__(self, optimization_view_id=None, **kwargs):
self.optimziation_view_id = optimization_view_id
super().__init__(**kwargs)
super(Candidate, self).__init__(**kwargs)

def portfolio_view(self):
path = '{}/candidates/{}/portfolio_view'.format(OptimizationView._get_path(self.optimziation_view_id),
Expand Down

0 comments on commit a8d0462

Please sign in to comment.