Skip to content

AttributeError: 'NoneType' object has no attribute 'name' #24

@Svababeton

Description

@Svababeton

Traceback (most recent call last):
File "C:\Users\43650\Desktop\tttyt\auddit-master\src\main.py", line 30, in
pipeline.execute(subreddit='askreddit', nsfw=False, comment_limit=30)
File "C:\Users\43650\Desktop\tttyt\auddit-master\src\main.py", line 26, in execute
task(self.context)
File "C:\Users\43650\Desktop\tttyt\auddit-master\src\tasks\scrape_reddit\task.py", line 40, in get_hottest_post
comment_output.author = comment.author.name
AttributeError: 'NoneType' object has no attribute 'name'

i guess its cause of deletet comments but i am not good enough to fix it by myselfe

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions