another PEP8 error is no comma after , -- if you'd like to clean that up, you can just remove ",None" as that's the default if the key doesn't exist.