Only output the folder names

This commit is contained in:
Trenton Holmes 2022-04-19 09:03:08 -07:00
parent 33134d4529
commit 5603834282

View File

@ -197,7 +197,7 @@ class MailAccountHandler(LoggingMixin):
) )
try: try:
for folder_info in M.folder.list(): for folder_info in M.folder.list():
self.log("info", f"Located folder: {str(folder_info)}") self.log("info", f"Located folder: {folder_info.name}")
except Exception: except Exception:
self.log( self.log(
"error", "error",