Python: string conversion fixed.