Aka: Fix previous commit.
Aka: Fix crash when logging (on Python 2).