summaryrefslogtreecommitdiff
path: root/jfr_playoff/tournamentinfo.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/tournamentinfo.py')
-rw-r--r--jfr_playoff/tournamentinfo.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/tournamentinfo.py b/jfr_playoff/tournamentinfo.py
index dee34f3..90637bc 100644
--- a/jfr_playoff/tournamentinfo.py
+++ b/jfr_playoff/tournamentinfo.py
@@ -123,7 +123,7 @@ class TournamentInfo:
teams = self.__get_html_results()
except (TypeError, IndexError, KeyError, IOError, ValueError):
pass
- if 'final_positions' in self.settings:
+ if self.is_finished() and 'final_positions' in self.settings:
for position in self.settings['final_positions']:
if len(teams) >= position:
teams[position-1].append(position)