Commit 65ad8e27 authored by Zheng Yile's avatar Zheng Yile
Browse files

Modify mainFunctions.py

parent 3c806545
......@@ -485,7 +485,10 @@ def GetHistory(eid, pid, cnt, InfoRecv=lambda: None, ErrorRecv=lambda: None):
threadGetHistory = MyThread(RunMethod=lambda: get_data(eid=eid, pid=pid, cnt=cnt))
threadGetHistory.infoSignal[list].connect(InfoRecv)
threadGetHistory.errorSignal.connect(ErrorRecv)
uiMain.progressBarHistory.Anime['progress'].setDuration(1500 * (cnt // 100 + 1))
try:
uiMain.progressBarHistory.Anime['progress'].setDuration(1500 * (cnt // 100 + 1))
except:
pass
uiMain.progressBarHistory.setValue(90)
threadGetHistory.start()
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment