diff options
Diffstat (limited to 'Lib/imaplib.py')
-rw-r--r-- | Lib/imaplib.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Lib/imaplib.py b/Lib/imaplib.py index ef93f734bd..3ec75a1997 100644 --- a/Lib/imaplib.py +++ b/Lib/imaplib.py @@ -539,7 +539,7 @@ class IMAP4: # Mandated responses are ('FLAGS', 'EXISTS', 'RECENT', 'UIDVALIDITY') self.untagged_responses = {} # Flush old responses. self.is_readonly = readonly - if readonly: + if readonly is not None: name = 'EXAMINE' else: name = 'SELECT' |