Skip to content

Commit 95778a2

Browse files
author
Jason Hunter
committed
default to login
1 parent 8e3824f commit 95778a2

File tree

2 files changed

+3
-3
lines changed

2 files changed

+3
-3
lines changed

application.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -47,7 +47,7 @@ def __init__(self, master):
4747
# will be the one that is visible.
4848
frame.grid(column=0, row=1, sticky='news')
4949

50-
self.show_frame(PlayerSearch)
50+
self.show_frame(Login)
5151

5252
def show_frame(self, c, **kwargs):
5353
'''Show a frame for the given class'''

frames/playersearch.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -214,8 +214,8 @@ def kill_job(self):
214214

215215
def active(self):
216216
Base.active(self)
217-
# if self.controller.api is None:
218-
# self.controller.show_frame(Login)
217+
if self.controller.api is None:
218+
self.controller.show_frame(Login)
219219

220220
# Backwards compatability
221221
if isinstance(self._playerFile, list):

0 commit comments

Comments
 (0)