diff options
author | emkael <emkael@tlen.pl> | 2019-06-27 22:58:24 +0200 |
---|---|---|
committer | emkael <emkael@tlen.pl> | 2019-06-27 22:58:24 +0200 |
commit | 512a48d2d4f556b30f502c4c057a975f43f58764 (patch) | |
tree | 61117dff1e6a89edf837aa2ce4976f61489614be /jfr_playoff | |
parent | 6a3517f4f7e1c4fb57471c4ab8adcafeb18dc175 (diff) |
Setting ties config only if teams config is a dictionary
Diffstat (limited to 'jfr_playoff')
-rw-r--r-- | jfr_playoff/gui/tabs.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jfr_playoff/gui/tabs.py b/jfr_playoff/gui/tabs.py index 0e29b7a..e61779c 100644 --- a/jfr_playoff/gui/tabs.py +++ b/jfr_playoff/gui/tabs.py @@ -196,7 +196,7 @@ class TeamsTab(PlayoffTab): 'team_aliases': self.aliasFrame.getConfig() } tieConfig = self.previewFrame.getTieConfig() - if tieConfig is not None: + if tieConfig is not None and isinstance(config['teams'], dict): config['teams']['ties'] = tieConfig return config |