From 4bff7ea89b14f09b940bb16e6a956f2a7551556d Mon Sep 17 00:00:00 2001 From: quentinhardy Date: Fri, 18 Nov 2016 04:17:16 -0500 Subject: [PATCH] Bug fix for outlook --- pupy/packages/windows/all/outlook.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pupy/packages/windows/all/outlook.py b/pupy/packages/windows/all/outlook.py index 465c3822..e38258b8 100644 --- a/pupy/packages/windows/all/outlook.py +++ b/pupy/packages/windows/all/outlook.py @@ -226,7 +226,7 @@ class outlook(): ''' folders = {} for inx, folder in enumerate(list(self.mapi.Folders)): - logging.debug("New folder: {0}({1})".format(folder.Name, folder.EntryID)) + logging.debug("New folder: {0}({1})".format(folder.Name.encode('utf-8'), folder.EntryID)) folders[folder.Name] = {} if "Dossiers publics" not in folder.Name and "Public folders" not in folder.Name: #Bug in my version of outlook when getting emails in public folder for inx,subfolder in enumerate(list(folder.Folders)):