!%&$*# Repair previous broken commit where an unrelated hunk slipped through.
Reverted that hunk.
This commit is contained in:
parent
d9ffaf4a3b
commit
5178c956bc
|
@ -779,7 +779,7 @@ def guess_delivery_time(message):
|
||||||
# get more desparate as we go through the array
|
# get more desparate as we go through the array
|
||||||
for header in ('Delivery-date', 'Date', 'Resent-Date'):
|
for header in ('Delivery-date', 'Date', 'Resent-Date'):
|
||||||
try:
|
try:
|
||||||
date = message.getdate_tz(header)
|
date = message.getdate(header)
|
||||||
if date:
|
if date:
|
||||||
time_message = time.mktime(date)
|
time_message = time.mktime(date)
|
||||||
vprint("using valid time found from '%s' header" % header)
|
vprint("using valid time found from '%s' header" % header)
|
||||||
|
|
Loading…
Reference in New Issue