refactor(backend): ♻️ align variable names, eliminate dead-code, and finalize recipe services

This commit is contained in:
hay-kot
2021-08-28 16:24:14 -08:00
parent 985ad8017d
commit 8e9280efaf
23 changed files with 132 additions and 180 deletions

View File

@@ -5,6 +5,4 @@ Cron = collections.namedtuple("Cron", "hours minutes")
def cron_parser(time_str: str) -> Cron:
time = time_str.split(":")
cron = Cron(hours=int(time[0]), minutes=int(time[1]))
return cron
return Cron(hours=int(time[0]), minutes=int(time[1]))