Skip to content

Commit

Permalink
[core] Fix bug when starting with no accounts saved, thanks to darkne…
Browse files Browse the repository at this point in the history
…ss51 for reporting via github
  • Loading branch information
luckyluke committed Jan 22, 2010
1 parent 2017cd0 commit e9ab396
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion amsn2/core/userinterface_manager.py
Expand Up @@ -66,7 +66,7 @@ def loadLogin(self, accounts):
if not self._login:
self._login = self._ui.aMSNLoginWindow(self._core, self._main)
self._login.setAccounts(accounts)
if accounts[0].autologin:
if accounts and accounts[0].autologin:
self._core.signinToAccount(self._login, accounts[0])

self._main.setTitle("aMSN 2 - Login")
Expand Down

0 comments on commit e9ab396

Please sign in to comment.