merge-requests/30/head
Bob Mottram 2021-07-05 11:15:35 +01:00
parent 607f54eb5b
commit 2099788bcd
1 changed files with 1 additions and 5 deletions

View File

@ -1517,11 +1517,7 @@ def noOfAccounts(baseDir: str) -> bool:
accountCtr = 0 accountCtr = 0
for subdir, dirs, files in os.walk(baseDir + '/accounts'): for subdir, dirs, files in os.walk(baseDir + '/accounts'):
for account in dirs: for account in dirs:
if '@' in account: if isAccountDir(account):
if account.startswith('inbox@'):
continue
elif account.startswith('news@'):
continue
accountCtr += 1 accountCtr += 1
break break
return accountCtr return accountCtr