Browse Source

修改保存wxid变量名写错

yjz 8 years ago
parent
commit
c765aca123
1 changed files with 1 additions and 1 deletions
  1. 1 1
      wxbot.py

+ 1 - 1
wxbot.py

@@ -674,7 +674,7 @@ class WXBot:
                     with open(os.path.join(self.temp_pwd,'UserName.txt'), 'w') as f:
                         f.write(msg['StatusNotifyUserName'])
                     with open(os.path.join(self.temp_pwd,'wxid.txt'), 'w') as f:
-                        f.write(wxid_str)
+                        f.write(json.dumps(self.wxid_list))
                     print "[INFO] Contact list is too big. Now start to fetch member list ."
                     self.get_big_contact()