mirror of https://gitlab.com/bashrc2/epicyon
Tidying
parent
607f54eb5b
commit
2099788bcd
6
utils.py
6
utils.py
|
@ -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
|
||||||
|
|
Loading…
Reference in New Issue