summaryrefslogtreecommitdiff
path: root/jfr_playoff/gui/__init__.py
diff options
context:
space:
mode:
Diffstat (limited to 'jfr_playoff/gui/__init__.py')
-rw-r--r--jfr_playoff/gui/__init__.py4
1 files changed, 3 insertions, 1 deletions
diff --git a/jfr_playoff/gui/__init__.py b/jfr_playoff/gui/__init__.py
index 4b1441b..bf81285 100644
--- a/jfr_playoff/gui/__init__.py
+++ b/jfr_playoff/gui/__init__.py
@@ -1,3 +1,5 @@
+import json
+
import tkinter as tk
from tkinter import ttk
@@ -26,7 +28,7 @@ class PlayoffGUI(tk.Tk):
tab.setValues(config)
def _resetValues(self):
- self._setValues({})
+ self._setValues(json.load(open('../pzbs-liga-playoff/eklasa.json')))
def newFile(self):
self.newFileIndex += 1