This commit is contained in:
usman@cyberpersons.com
2023-06-22 12:08:30 +05:00
parent f337f89551
commit 38802b663a
3 changed files with 19 additions and 12 deletions

View File

@@ -209,7 +209,8 @@ class FileManager:
try:
currentFile = items.split(' ')
currentFile = [a for a in currentFile if a != '']
if currentFile[-1] == '.' or currentFile[-1] == '..' or currentFile[0] == 'total':
if currentFile[-1] == '.' or currentFile[-1] == '..' or currentFile[0] == 'total' or currentFile[-1].startswith('mail.'):
continue
if len(currentFile) > 9: