From 8a61170fbf673813f8c7429b2b07483ad72b6d8f Mon Sep 17 00:00:00 2001 From: JerryYan ECS Date: Fri, 8 Feb 2019 10:48:03 +0800 Subject: [PATCH] Emeg Fix : str is not callable --- api.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/api.py b/api.py index f3cb162..3c39802 100644 --- a/api.py +++ b/api.py @@ -107,7 +107,7 @@ class XiGuaLiveApi: try: d = p.json() except json.decoder.JSONDecodeError as e: - print(p.text()) + print(p.text) return if "data" in d and d["data"] is not None: for i in d["data"]: