Forráskód Böngészése

Update xiaoiceapi.py

yanwii 8 éve
szülő
commit
31da114066
1 módosított fájl, 1 hozzáadás és 2 törlés
  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)