Skip to content
Snippets Groups Projects
Commit 84010dbc authored by Andreas Bolin's avatar Andreas Bolin
Browse files

Fixed a bug where changing schedule time to the time as the max end time, clamed to be to short.

parent cdb4875a
No related branches found
No related tags found
1 merge request!78Add scheduler GUI
......@@ -126,7 +126,7 @@ class Schedule:
raise NotImplementedError
def set_schedule_time(self, time: int) -> "Schedule":
assert self._get_max_end_time() < time, "New schedule time to short."
assert self._get_max_end_time() <= time, "New schedule time to short."
self._schedule_time = time
return self
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment