In the dis_sender.py, the emitted ESPDU has its length field set to zero.
The code in that example doesn't manipulate the length field.
This matters if you're using, say, open-dis java's PduFactory#getPdusFromBundle()`, which relies on this field's value.