chore: fix linter #nosemgrep

This commit is contained in:
Saurabh
2023-03-13 11:48:54 +05:30
parent 341eab2b2a
commit 44df522655

View File

@@ -523,7 +523,7 @@ class SalarySlip(TransactionBase):
for leave_type in leave_types:
leave_type_map[leave_type.name] = leave_type
attendances = frappe.db.sql(
attendances = frappe.db.sql( # nosemgrep
"""
SELECT attendance_date, status, leave_type
FROM `tabAttendance`