simple fix for pint being None
Merge branch 'attribute-error-35'