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 <kchai@redhat.com>
This commit is contained in:
Kefu Chai 2021-01-29 13:38:20 +08:00
parent 80cbf407c2
commit 52d17e5852

View File

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