2015-02-02 | Paul Boddie | raw files shortlog changelog graph | Fixed handler items instantiation. | |
imiptools/__init__.py (file) |
1.1 --- a/imiptools/__init__.py Mon Feb 02 00:39:05 2015 +0100 1.2 +++ b/imiptools/__init__.py Mon Feb 02 17:25:20 2015 +0100 1.3 @@ -83,7 +83,7 @@ 1.4 all_responses = [] 1.5 handled = False 1.6 1.7 - handlers = [(name, cls(senders, recipient, self.messenger)) for name, cls in handlers] 1.8 + handlers = [(name, cls(senders, recipient, self.messenger)) for name, cls in self.handlers] 1.9 1.10 for part in msg.walk(): 1.11 if part.get_content_type() in itip_content_types and \