Fix regression that broke flogtool results on Python 2.