fix get_thread with an id instead of a Thread instance
This commit is contained in:
parent
8b91911506
commit
05e28f9b52
1 changed files with 2 additions and 0 deletions
|
|
@ -62,6 +62,8 @@ class DLFPBackend(BaseBackend, ICapMessages, ICapMessagesPost):
|
|||
if isinstance(id, Thread):
|
||||
thread = id
|
||||
id = thread.id
|
||||
else:
|
||||
thread = None
|
||||
|
||||
with self.browser:
|
||||
content = self.browser.get_content(id)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue