From f7bf6cb2fd66fb6fdbe100effe05ee853c91968a Mon Sep 17 00:00:00 2001 From: Thomas Jarosch Date: Wed, 27 Jun 2012 14:40:24 +0200 Subject: [PATCH] Fix crash introduced in the last refactoring --- fix_imap_internaldate.py | 2 +- 1 files changed, 1 insertions(+), 1 deletions(-) diff --git a/fix_imap_internaldate.py b/fix_imap_internaldate.py index 8c827e1..5ac1d5c 100644 --- a/fix_imap_internaldate.py +++ b/fix_imap_internaldate.py @@ -103,7 +103,7 @@ def main(): mid.decode('iso-8859-1'), box.name, box.owner, internal_date.strftime("%d %b %Y %H:%M:%S"), received_date.strftime("%d %b %Y %H:%M:%S"), - fetched_received_date[0][1].decode('iso-8859-1').split("Received:")[1]) + fetched_received_date.split("Received:")[1]) # count total emails for every user and mailbox box.date_conflicts += 1 # if all messages were successfully fixed confirm caching -- 1.7.1