Emeg Fix : str is not callable

This commit is contained in:
JerryYan ECS 2019-02-08 10:48:03 +08:00
parent fa7a9bc102
commit 8a61170fbf

2
api.py
View File

@ -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"]: