Update deps and fix case when no mails found

This commit is contained in:
2023-04-13 18:50:37 -04:00
parent b3704d34e2
commit 22daadb206
3 changed files with 19 additions and 7 deletions

View File

@ -109,6 +109,7 @@ class MailEntry:
def files_in_path(path):
for _, _, files in os.walk(path):
return [(f, os.path.join(path, f)) for f in files]
return []
def get_mails_list(dirpath: Path) -> List[MailEntry]: