mirror of
https://github.com/ComradCollective/Comrad
synced 2024-11-13 07:10:49 +00:00
komrade update!
This commit is contained in:
parent
f0372c0fcb
commit
b32970f767
@ -499,11 +499,11 @@ class KomradeX(Caller):
|
|||||||
if not res.get('success'): return res
|
if not res.get('success'): return res
|
||||||
|
|
||||||
# (2) save msgs
|
# (2) save msgs
|
||||||
id2msg=res.get('res_msgs').get('posts',[])
|
id2msg=res.get('res_msgs').get('posts',{})
|
||||||
self.save_msgs(id2msg)
|
self.save_msgs(id2msg)
|
||||||
|
|
||||||
# (3) save posts
|
# (3) save posts
|
||||||
id2post=res.get('res_posts').get('posts',[])
|
id2post=res.get('res_posts').get('posts',{})
|
||||||
self.save_posts(id2post)
|
self.save_posts(id2post)
|
||||||
|
|
||||||
return res
|
return res
|
||||||
|
Loading…
Reference in New Issue
Block a user