do not crash when no accounts
This commit is contained in:
parent
cb821eb8fd
commit
a9ec741af4
|
@ -120,7 +120,7 @@ class OptionsParser:
|
|||
if self.tab.has_key('Profile'):
|
||||
if self.tab['Profile'].has_key('accounts'):
|
||||
accounts = self.tab['Profile']['accounts'].split()
|
||||
if not accounts:
|
||||
else:
|
||||
return
|
||||
for account in accounts:
|
||||
if not self.tab.has_key(account):
|
||||
|
|
Loading…
Reference in New Issue