Skip to content

Commit

Permalink
tries fixing step call
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Jan 28, 2024
1 parent ccf5be5 commit 86d7e1b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion dcm/dcm_webserver.py
Original file line number Diff line number Diff line change
Expand Up @@ -385,7 +385,7 @@ def assess_learner(self, dcm, learner):
self.assessment = Assessment(self, dcm=dcm, learner=learner)
# we have to await self.assessment.step(0)
# so we trigger it async
ui.timer(0, self.assessment.step,0, once=True)
ui.timer(0, lambda: self.assessment.step(0), once=True)

def new_assess(self):
"""
Expand Down

0 comments on commit 86d7e1b

Please sign in to comment.