if we don't have accounts, don't crash
This commit is contained in:
parent
3b9b46b6e8
commit
cb821eb8fd
|
@ -120,6 +120,8 @@ class OptionsParser:
|
|||
if self.tab.has_key('Profile'):
|
||||
if self.tab['Profile'].has_key('accounts'):
|
||||
accounts = self.tab['Profile']['accounts'].split()
|
||||
if not accounts:
|
||||
return
|
||||
for account in accounts:
|
||||
if not self.tab.has_key(account):
|
||||
continue
|
||||
|
|
Loading…
Reference in New Issue