Skip to content

Fix crash when the key is not found.#37

Open
skorokithakis wants to merge 2 commits intocartwheelweb:masterfrom
skorokithakis:patch-1
Open

Fix crash when the key is not found.#37
skorokithakis wants to merge 2 commits intocartwheelweb:masterfrom
skorokithakis:patch-1

Conversation

@skorokithakis
Copy link
Copy Markdown

If the key is not found, .get() will return None and the program will crash. This way, it doesn't.

@skorokithakis
Copy link
Copy Markdown
Author

Okay, the previous fix didn't work (it seems the key exists and is None), so I've fixed it properly and tested it.

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

Successfully merging this pull request may close these issues.

1 participant