Another typo fix

pull/449/head
Christopher Usher 9 months ago
parent b9dca85bd0
commit 81d016bdea

@ -87,7 +87,7 @@ def calculate_shift(time, shifts):
time -- a datetime.datetime instance
shifts -- the output from parse_shifts
"""
if time is not None:
if time is None:
return ''
for shift in shifts['one_off']:

Loading…
Cancel
Save