PolyQuilt addon for Blender 2.8

Addon crash Blender.
Sometimes when working with an addon, Blender crashes.
It happens that during operation this error pops up and after it the Blender crashes, but sometimes it doesn’t.