Skip to content

Commit

Permalink
another fix attempt
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangFahl committed Feb 4, 2024
1 parent 059f8a4 commit a926ae0
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 @@ -510,7 +510,7 @@ def assess_state(self):
in the UI
"""
self.save_session_state()
if self.learner is None:
if self.dcm and self.learner is None:
# allow creating a new learner
self.assessment_button.enable()
else:
Expand Down

0 comments on commit a926ae0

Please sign in to comment.