Another typo fix

pull/441/merge
Christopher Usher 3 weeks ago
parent fc2e30512d
commit d3fa140995

@ -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