main
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
for subdir, dirs, files in os.walk(baseDir + '/accounts'):
for account in dirs:
if '@' in account:
if account.startswith('inbox@'):
continue
elif account.startswith('news@'):
continue
if isAccountDir(account):
accountCtr += 1
break
return accountCtr