@ccc You're right but I did not want to improve the Python, only a way to solve the bug. Thus I added the two lines in the same style.