frappe / biometric-attendance-sync-tool

A simple tool for syncing Biometric Attendance data with your ERPNext server

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

AttributeError

opened this issue · comments

File "push_to_erpnext.py", line 221, in
error_logger = setup_logger('error_logger', '/'.join([config.LOGS_DIRECTORY, 'error.log']), logging.ERROR)
File "push_to_erpnext.py", line 203, in setup_logger
if not logger.hasHandlers():
AttributeError: 'Logger' object has no attribute 'hasHandlers'

Please use Python3. I think you are using Python2, which is not supported.