From 81d016bdea7e8dcdade88be519f9f316a2abc6d0 Mon Sep 17 00:00:00 2001 From: Christopher Usher Date: Tue, 5 Nov 2024 20:30:17 -0800 Subject: [PATCH] Another typo fix --- common/common/shifts.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/common/common/shifts.py b/common/common/shifts.py index 802f51d..82e8922 100644 --- a/common/common/shifts.py +++ b/common/common/shifts.py @@ -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']: