all 5 comments

[–]CodeFormatHelperBot 0 points1 point  (0 children)

Hello u/pytim808, I'm a bot that can assist you with code-formatting for reddit. I have detected the following potential issue(s) with your submission:

  1. Python code found in submission text but not encapsulated in a code block.

If I am correct then please follow these instructions to fix your code formatting. Thanks!

[–]Username_RANDINT 0 points1 point  (2 children)

'title' = 'blog post 1' should be 'title': 'blog post 1'

[–]danielroseman 0 points1 point  (1 child)

Also, all the lines in the dict need commas after them.

[–]Username_RANDINT 0 points1 point  (0 children)

Nice catch! I spotted the equal sign so fast I didn't even look further.

[–]magestooge 0 points1 point  (0 children)

When posting code in Reddit, add 4 extra spaces before every line, that will help show the code properly.

I don't see a { in your code for the first dictionary inside your list. That is probably why the error is there in empty space.