Skip to content

Commit

Permalink
removing python versions 3.6 and 3.7 from actions
Browse files Browse the repository at this point in the history
  • Loading branch information
Emmanuel Rondan committed Nov 6, 2024
1 parent f14df2f commit 22bcead
Show file tree
Hide file tree
Showing 2 changed files with 1 addition and 7 deletions.
6 changes: 0 additions & 6 deletions .github/workflows/main.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,12 +10,6 @@ jobs:
fail-fast: false
matrix:
include:
- python-version: "3.6"
env:
TOXENV: py
- python-version: "3.7"
env:
TOXENV: py
- python-version: "3.8"
env:
TOXENV: py
Expand Down
2 changes: 1 addition & 1 deletion price_parser/parser.py
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ def fromstring(
currency = extract_currency_symbol(price, currency_hint)
if currency is not None:
currency = currency.strip()
if digit_group_separator:
if digit_group_separator and price is not None:
price = price.replace(digit_group_separator, "")
amount_text = extract_price_text(price) if price is not None else None
amount_num = (
Expand Down

0 comments on commit 22bcead

Please sign in to comment.