From b32970f767ec36bfb580479ae4d85646d847bda6 Mon Sep 17 00:00:00 2001 From: quadrismegistus Date: Thu, 17 Sep 2020 14:43:25 +0100 Subject: [PATCH] komrade update! --- komrade/backend/komrades.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/komrade/backend/komrades.py b/komrade/backend/komrades.py index 35f13f1..7c500f8 100644 --- a/komrade/backend/komrades.py +++ b/komrade/backend/komrades.py @@ -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