You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If DiameterAVP is initialized with data = 0, an UnboundLocalError (local variable 'length' referenced before assignment) is raised whenever DiameterAVP.length attribute is called, for example in DiameterAVP.dump method.
The error stems from the if condition at line 379 in base.py
Values of zero should be considered as valid integers and represent a meaningful value.
The text was updated successfully, but these errors were encountered:
If DiameterAVP is initialized with data = 0, an UnboundLocalError (local variable 'length' referenced before assignment) is raised whenever DiameterAVP.length attribute is called, for example in DiameterAVP.dump method.
The error stems from the if condition at line 379 in base.py
Values of zero should be considered as valid integers and represent a meaningful value.
The text was updated successfully, but these errors were encountered: