Blackened files
This commit is contained in:
parent
be5ddb76ae
commit
4e7606aa0c
24 changed files with 200 additions and 120 deletions
|
|
@ -3,7 +3,7 @@ from openflexure_microscope.devel import (
|
|||
JsonResponse,
|
||||
request,
|
||||
jsonify,
|
||||
taskify
|
||||
taskify,
|
||||
)
|
||||
|
||||
import logging
|
||||
|
|
|
|||
|
|
@ -72,7 +72,7 @@ class ExamplePlugin(MicroscopePlugin):
|
|||
time.sleep(1)
|
||||
|
||||
# Update task progress (if running as a task)
|
||||
percent_complete = int(((t + 1)/run_time)*100)
|
||||
percent_complete = int(((t + 1) / run_time) * 100)
|
||||
update_task_progress(percent_complete)
|
||||
|
||||
return vals
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue