Update leave_application.py

See issue #2422 for more detail.
Merge pull request #2431 from mayur-patel/patch-2

Update leave_application.py : Modified get_holidays function