Skip to content

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

@sahadikr1

Description

@sahadikr1

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'

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions