X-Git-Url: https://git.notmuchmail.org/git?a=blobdiff_plain;f=bindings%2Fpython%2Fnotmuch%2Fmessage.py;h=54c4e4b2c14b0394360bb8e78e9b5bdd3a46fb3f;hb=09fdf2b283938da1cded87ec8621aabe917a8fa5;hp=f1faf1da1c939e71f671a51292a2926c5a0a10a6;hpb=1f08664a6b8f7cba63f63855833f877b66bbbe05;p=notmuch diff --git a/bindings/python/notmuch/message.py b/bindings/python/notmuch/message.py index f1faf1da..54c4e4b2 100644 --- a/bindings/python/notmuch/message.py +++ b/bindings/python/notmuch/message.py @@ -259,7 +259,7 @@ class Message(Python3StringMixIn): files_p = Message._get_filenames(self._msg) - return Filenames(files_p, self).as_generator() + return Filenames(files_p, self) def get_flag(self, flag): """Checks whether a specific flag is set for this message