this todo is resolved

This commit is contained in:
Jakob Ketterl 2021-02-25 00:38:23 +01:00
parent 8c767be53a
commit f6f0a87002

View File

@ -321,7 +321,6 @@ class SchedulerInput(Input):
select_id = "{id}-select".format(id=self.id) select_id = "{id}-select".format(id=self.id)
if select_id in data: if select_id in data:
if data[select_id][0] == "static": if data[select_id][0] == "static":
# TODO parse static fields
keys = ["{}-{}".format(self.id, x) for x in ["time-start", "time-end", "profile"]] keys = ["{}-{}".format(self.id, x) for x in ["time-start", "time-end", "profile"]]
keys_present = reduce(and_, [key in data for key in keys], True) keys_present = reduce(and_, [key in data for key in keys], True)
if not keys_present: if not keys_present: