Skip to content

Commit

Permalink
default to login
Browse files Browse the repository at this point in the history
  • Loading branch information
Jason Hunter committed Sep 30, 2016
1 parent 8e3824f commit 95778a2
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion application.py
Original file line number Diff line number Diff line change
Expand Up @@ -47,7 +47,7 @@ def __init__(self, master):
# will be the one that is visible.
frame.grid(column=0, row=1, sticky='news')

self.show_frame(PlayerSearch)
self.show_frame(Login)

def show_frame(self, c, **kwargs):
'''Show a frame for the given class'''
Expand Down
4 changes: 2 additions & 2 deletions frames/playersearch.py
Original file line number Diff line number Diff line change
Expand Up @@ -214,8 +214,8 @@ def kill_job(self):

def active(self):
Base.active(self)
# if self.controller.api is None:
# self.controller.show_frame(Login)
if self.controller.api is None:
self.controller.show_frame(Login)

# Backwards compatability
if isinstance(self._playerFile, list):
Expand Down

0 comments on commit 95778a2

Please sign in to comment.