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

typeError: unsupported operand type(s) for +: 'NoneType' and 'str' #9

Open
sahadikr1 opened this issue Apr 6, 2020 · 1 comment
Open

Comments

@sahadikr1
Copy link

i got this error message , please help me to fix
GNU bash, version 4.4.12(1)-release (x86_64-pc-linux-gnu)
 python main.py
Traceback (most recent call last):
File "main.py", line 6, in
from background_tasks import bg_tasks
File "/home/runner/all-seeing-bot/background_tasks.py", line 6, in
from tools.read_write import read, write
File "/home/runner/all-seeing-bot/tools/read_write.py", line 6, in
mongo_link = os.getenv('mlab_link') + '?retryWrites=false'
TypeError: unsupported operand type(s) for +: 'NoneType' and 'str'

@wbourne0
Copy link
Member

That's because you don't have the right .env variables. I haven't documented those yet.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants