From ee4f35076b048162c87059d08425b6280776ec09 Mon Sep 17 00:00:00 2001 From: Michal Zimniewicz Date: Sun, 9 Oct 2016 12:27:23 +0200 Subject: adjust super() calls to python2 --- ql/lineup.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ql/lineup.py b/ql/lineup.py index 5a2ce82..cca69e5 100644 --- a/ql/lineup.py +++ b/ql/lineup.py @@ -38,7 +38,7 @@ class TeamInSegment(object): class HomeTeamInSegment(TeamInSegment): def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + super(HomeTeamInSegment, self).__init__(*args, **kwargs) def get_paired_players_fields(self): return [ @@ -56,7 +56,7 @@ class HomeTeamInSegment(TeamInSegment): class AwayTeamInSegment(TeamInSegment): def __init__(self, *args, **kwargs): - super().__init__(*args, **kwargs) + super(AwayTeamInSegment, self).__init__(*args, **kwargs) def get_paired_players_fields(self): return [ -- cgit v1.2.3