Minor fix to editing task durations

This commit is contained in:
bosonprojets
2021-05-14 23:25:54 +00:00
parent e8ab4dcc14
commit e1d1dca518
@@ -12,6 +12,9 @@ class Usecase:
def execute(self):
# If the user specifies both an end date and a duration, the duration takes priority
if "ScheduleDuration" in self.settings["attributes"].keys():
if self.settings["task_time"].ScheduleFinish:
del self.settings["attributes"]["ScheduleFinish"]
if "ActualDuration" in self.settings["attributes"].keys():
del self.settings["attributes"]["ActualFinish"]