mirror of
https://github.com/mealie-recipes/mealie.git
synced 2026-02-08 00:43:12 -05:00
refactor(backend): ♻️ align variable names, eliminate dead-code, and finalize recipe services
This commit is contained in:
@@ -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]))
|
||||
|
||||
Reference in New Issue
Block a user