Minor fix for Python 3 - caused by #a150220c