From 52d17e5852da9a01a47fece2f74c5d7d65541f1a Mon Sep 17 00:00:00 2001 From: Kefu Chai Date: Fri, 29 Jan 2021 13:38:20 +0800 Subject: [PATCH] pybind/mgr/snap-schedule: close a string with single quote if it starts with single quote, we should close it with a single quote also. Signed-off-by: Kefu Chai --- src/pybind/mgr/snap_schedule/fs/schedule.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/pybind/mgr/snap_schedule/fs/schedule.py b/src/pybind/mgr/snap_schedule/fs/schedule.py index 714be62f74817..ec9e94ab4084d 100644 --- a/src/pybind/mgr/snap_schedule/fs/schedule.py +++ b/src/pybind/mgr/snap_schedule/fs/schedule.py @@ -201,7 +201,7 @@ class Schedule(object): INNER JOIN schedules_meta sm ON sm.schedule_id = s.id WHERE''' - GET_SCHEDULES = PROTO_GET_SCHEDULES + ' s.path = ?''' + GET_SCHEDULES = PROTO_GET_SCHEDULES + ' s.path = ?' @classmethod def get_db_schedules(cls, -- 2.39.5