[beers] Fix abv lookup
This commit is contained in:
@ -66,8 +66,8 @@ def get_abv_from_soup(soup) -> Optional[float]:
|
|||||||
pass
|
pass
|
||||||
except ValueError:
|
except ValueError:
|
||||||
pass
|
pass
|
||||||
if "N/A" in abv:
|
except TypeError:
|
||||||
abv = None
|
pass
|
||||||
return abv
|
return abv
|
||||||
|
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user