[beers] Fix missing abv error

This commit is contained in:
2024-11-01 22:39:46 -04:00
parent f2998205e1
commit 1f0c950b17
4 changed files with 27 additions and 0 deletions

View File

@ -66,6 +66,8 @@ def get_abv_from_soup(soup) -> Optional[float]:
pass
except ValueError:
pass
if "N/A" in abv:
abv = None
return abv