diff --git a/pyjeeves/models/raw.py b/pyjeeves/models/raw.py index 8ca878d..33675d1 100644 --- a/pyjeeves/models/raw.py +++ b/pyjeeves/models/raw.py @@ -144,7 +144,7 @@ class Article(RawBaseModel): unit = self._get_standard_alt_unit() if unit and unit.AltEnhetOmrFaktor: return unit.AltEnhetOmrFaktor - else: + elif unit: return unit.ArticleAlternativeUnit.AltEnhetOmrFaktor return 1