diff --git a/filmatyk/gui.py b/filmatyk/gui.py index 8950c7e..af3d054 100644 --- a/filmatyk/gui.py +++ b/filmatyk/gui.py @@ -101,7 +101,7 @@ def _setStateGood(self, event=None): self.infoLabel['text'] = '' self.stateGood = True #also, maybe the user has hit enter key, meaning to log in - if event.keycode == 13: + if event.keysym == 'Return': self._loginClick() def _loginClick(self): #collect login data