Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
Zheng Yile
codiaclient
Commits
65ad8e27
Commit
65ad8e27
authored
Jun 27, 2021
by
Zheng Yile
Browse files
Modify mainFunctions.py
parent
3c806545
Changes
1
Hide whitespace changes
Inline
Side-by-side
mainFunctions.py
View file @
65ad8e27
...
...
@@ -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
()
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment