소스 검색

Update xiaoiceapi.py

yanwii 8 년 전
부모
커밋
31da114066
1개의 변경된 파일1개의 추가작업 그리고 2개의 파일을 삭제
  1. 1 2
      xiaoiceapi.py

+ 1 - 2
xiaoiceapi.py

@@ -55,8 +55,7 @@ class xiaoiceApi():
                 return self.dicts("sucess", text)
             else:
                 return self.dicts("failed", page.json()['msg'])
-        except JSONDecodeError:
-            return self.dicts("error", "请查看tmp下页面的内容")
+        
         except Exception as e:
             return self.dicts("error", e)