mirror of https://gitlab.com/bashrc2/epicyon
Count files in directory
parent
190bcfc869
commit
a608bc0fff
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue