[weboob] [PATCH 2/2] dlfp: always fill the parent attribute

Simon Lipp laiquo at hwold.net
Fri Feb 12 09:59:26 CET 2016


Signed-off-by: Simon Lipp <laiquo at hwold.net>
---
 modules/dlfp/module.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/modules/dlfp/module.py b/modules/dlfp/module.py
index 503f6fc..8095df6 100644
--- a/modules/dlfp/module.py
+++ b/modules/dlfp/module.py
@@ -170,6 +170,7 @@ class DLFPModule(Module, CapMessages, CapMessagesPost, CapContent):
             message = Message(thread=parent.thread,
                               id=com.id,
                               children=[],
+                              parent=parent,
                               flags=flags)
         parent.children.append(message)
         for sub in com.comments:
-- 
2.7.0



More information about the weboob mailing list