Closed aa6moham closed 7 years ago
If the FEC packet is of type row, fec.D() returns None, which is not a valid integer. This oversight also causes the program to crash due to invalid TypeError during print.
I am closing this PR, can you make a new PR with the following logic instead:
Replace if fec.D != 0: by more "pythonic" if fec.D:, same for fec.L. Thanks!
if fec.D != 0:
if fec.D:
If the FEC packet is of type row, fec.D() returns None, which is not a valid integer. This oversight also causes the program to crash due to invalid TypeError during print.