瀏覽代碼

first commit

yanwii 8 年之前
父節點
當前提交
c930721a29
共有 1 個文件被更改,包括 1 次插入1 次删除
  1. 1 1
      xiaoiceapi.py

+ 1 - 1
xiaoiceapi.py

@@ -52,7 +52,7 @@ class xiaoiceApi():
             self.savePage(page.text, "./tmp/postpage.txt")
             if page.json()['code'] == '100000':
                 text = self.loop(input_strs)
-                return self.dicts("sucess", text)
+                return self.dicts("successed", text)
             else:
                 return self.dicts("failed", page.json()['msg'])
         except JSONDecodeError: