From 8df3fa1b5f0d12d9dfd4ea1699b6114e022ff20a Mon Sep 17 00:00:00 2001 From: Joseph Ishac Date: Tue, 23 Feb 2021 20:00:01 -0500 Subject: [PATCH] Fixed overlooked variable when debugging is on. Should finalize implementation of enhancement #48 https://github.com/OfflineIMAP/offlineimap3/issues/48 And fix issues #43 and #44 https://github.com/OfflineIMAP/offlineimap3/issues/43 https://github.com/OfflineIMAP/offlineimap3/issues/44 --- offlineimap/folder/Base.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/offlineimap/folder/Base.py b/offlineimap/folder/Base.py index 7a1a04e..f757e75 100644 --- a/offlineimap/folder/Base.py +++ b/offlineimap/folder/Base.py @@ -688,7 +688,7 @@ class BaseFolder: Returns: header value or None if no such header was found. """ - self.ui.debug('', 'getmessageheader: called to get %s' % name) + self.ui.debug('', 'getmessageheader: called to get %s' % headername) return msg.get(headername) def getmessageheaderlist(self, msg, headername): @@ -704,7 +704,7 @@ class BaseFolder: found. """ - self.ui.debug('', 'getmessageheaderlist: called to get %s' % name) + self.ui.debug('', 'getmessageheaderlist: called to get %s' % headername) return msg.get_all(headername, []) def deletemessageheaders(self, msg, header_list):