do not crash when no accounts

This commit is contained in:
Yann Leboulanger 2005-04-17 19:45:38 +00:00
parent cb821eb8fd
commit a9ec741af4
1 changed files with 1 additions and 1 deletions

View File

@ -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):