Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

AttributeError #1

Closed
zahidhassan opened this issue Aug 21, 2019 · 1 comment

Comments

@zahidhassan
Copy link

commented Aug 21, 2019

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'

@karthikeyan5

This comment has been minimized.

Copy link
Collaborator

commented Aug 22, 2019

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
2 participants
You can’t perform that action at this time.