During Attendence upload csv file

Traceback (most recent call last):
  File "/home/frappe/frappe-bench/apps/frappe/frappe/handler.py", line 122, in uploadfile
    ret = method()
  File "/home/frappe/frappe-bench/apps/erpnext/erpnext/hr/doctype/upload_attendance/upload_attendance.py", line 105, in upload
    columns = [scrub(f) for f in rows[4]]
TypeError: 'filter' object is not subscriptable

@amit_vaid

also share your frappe and erpnext versions. It will make easier for people here.

ERPNext: v11.x.x-develop (9c735e4) (develop)

Frappe Framework: v11.x.x-develop (4912144) (develop)

the problem solved?!