mirror of
https://github.com/frappe/erpnext.git
synced 2026-06-03 04:09:11 +00:00
chore: make linter happy
This commit is contained in:
@@ -257,9 +257,7 @@ def get_unmarked_days(employee, month, exclude_holidays=0):
|
|||||||
start_day = joining_date.day
|
start_day = joining_date.day
|
||||||
|
|
||||||
if (
|
if (
|
||||||
relieving_date
|
relieving_date and relieving_date.year == today.year and relieving_date.month == month_map[month]
|
||||||
and relieving_date.year == today.year
|
|
||||||
and relieving_date.month == month_map[month]
|
|
||||||
):
|
):
|
||||||
end_day = relieving_date.day + 1
|
end_day = relieving_date.day + 1
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user