handle get history Q and H data
This commit is contained in:
@@ -45,7 +45,7 @@ def get_realValue(ids)->dict[str,float]:
|
||||
#print("datadt (Beijing Time):", beijing_time.strftime('%Y-%m-%d %H:%M:%S'))
|
||||
#print("realValue:", realValue['realValue'])
|
||||
#print() # 打印空行分隔不同条目
|
||||
r=float(realValue['value'])
|
||||
r=float(realValue['realValue'])
|
||||
lst_data[str(realValue['id'])]=r
|
||||
else:
|
||||
# 如果请求不成功,打印错误信息
|
||||
|
||||
Reference in New Issue
Block a user