Rtime is none instead of == None

This commit is contained in:
Julius Gonsior 2018-02-25 19:10:18 +01:00
parent ee42cf605c
commit fb188a0aa9
No known key found for this signature in database
GPG Key ID: B1A454C66015B27E
1 changed files with 1 additions and 1 deletions

View File

@ -541,7 +541,7 @@ class IMAPFolder(BaseFolder):
if rtime is None or internal_date_for_append_method == 'header':
rtime = emailutil.get_message_date(content)
if internal_date_for_append_method == 'imap' or rtime == None:
if internal_date_for_append_method == 'imap' or rtime is None:
return None
datetuple = time.localtime(rtime)