-
Notifications
You must be signed in to change notification settings - Fork 29
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
Attribute error #4
Comments
Please show how to reproduce the error. For example show the config.py file and the Python version you are using. |
I'm using Python Python 2.7.15rc1. My config.py is this I'm getting the same error. |
Have you modified the nuats_bot.py file as well? Please include a gist with that script too. |
Here it is. Didn't modified it at all. |
The problem comes from Python 2.7 for which the list filtering of On the other hand, another problem will arise regarding the Discord webhook because of your config.py - The line |
I have now included the Python 3.x requirement in the README.md file. Thanks for bringing it up. |
Traceback (most recent call last):
File "nuats_bot.py", line 124, in
main()
File "nuats_bot.py", line 96, in main
if (len(notifications_list) > 0): broadcast_signals(notifications_list)
File "nuats_bot.py", line 28, in broadcast_signals
all_notifications_list = list(filter(None.ne, tickers_TA_list)) # Filter out tickers with no bull/bear notifications
AttributeError: 'NoneType' object has no attribute 'ne'
The text was updated successfully, but these errors were encountered: