Count files in directory

main
Bob Mottram 2021-06-02 23:25:39 +01:00
parent 190bcfc869
commit a608bc0fff
1 changed files with 2 additions and 1 deletions

View File

@ -71,7 +71,8 @@ def _getStatusCount(baseDir: str) -> int:
continue
if 'inbox@' in acct or 'news@' in acct:
continue
statusCtr += len(os.path.join(accountsDir, acct + '/outbox'))
for f in os.path.join(accountsDir, acct + '/outbox'):
statusCtr += 1
break
return statusCtr