Forgotten debug info
Fixed missing notification content type

Fix over 09235a1750d40031
PEP8 corrections