mirror of https://gitlab.com/bashrc2/epicyon
Count files in directory
parent
a608bc0fff
commit
b790b2a64b
|
@ -71,8 +71,10 @@ def _getStatusCount(baseDir: str) -> int:
|
||||||
continue
|
continue
|
||||||
if 'inbox@' in acct or 'news@' in acct:
|
if 'inbox@' in acct or 'news@' in acct:
|
||||||
continue
|
continue
|
||||||
for f in os.path.join(accountsDir, acct + '/outbox'):
|
acctDir = os.path.join(accountsDir, acct + '/outbox')
|
||||||
statusCtr += 1
|
for subdir2, dirs2, files2 in os.walk(acctDir):
|
||||||
|
statusCtr += len(files)
|
||||||
|
break
|
||||||
break
|
break
|
||||||
return statusCtr
|
return statusCtr
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue