2
0
mirror of https://github.com/ComradCollective/Comrad synced 2024-11-13 07:10:49 +00:00

komrade update!

This commit is contained in:
quadrismegistus 2020-09-17 14:43:25 +01:00
parent f0372c0fcb
commit b32970f767

View File

@ -499,11 +499,11 @@ class KomradeX(Caller):
if not res.get('success'): return res
# (2) save msgs
id2msg=res.get('res_msgs').get('posts',[])
id2msg=res.get('res_msgs').get('posts',{})
self.save_msgs(id2msg)
# (3) save posts
id2post=res.get('res_posts').get('posts',[])
id2post=res.get('res_posts').get('posts',{})
self.save_posts(id2post)
return res