From 802a205e100b0ab826d56a9091b41a710ec71539 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 b0d5847..c201d4b 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