Client now starts up cleanly, but no way to add accounts
This commit is contained in:
parent
b9fb21c46e
commit
4443d9d12c
3
hrafn.py
3
hrafn.py
|
@ -72,7 +72,7 @@ class Hrafn():
|
|||
if not self.db.has_key('active_user'):
|
||||
try:
|
||||
self.db['active_user'] = self.accounts.keys()[0]
|
||||
except KeyError:
|
||||
except IndexError:
|
||||
self.db['active_user'] = None
|
||||
|
||||
|
||||
|
@ -149,6 +149,7 @@ class Hrafn():
|
|||
|
||||
|
||||
def update_account_label(self):
|
||||
if self.username:
|
||||
self.account_label.set_text(self.username + ': ')
|
||||
|
||||
|
||||
|
|
Reference in New Issue
Block a user