Skip to content

Commit

Permalink
Fix black
Browse files Browse the repository at this point in the history
  • Loading branch information
ortlam committed Dec 11, 2023
1 parent 64af17b commit 417fc65
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions phone_validation_e164/controllers/main.py
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,7 @@ class WebsiteSaleExt(WebsiteSale):
)
def address(self, **kw):
if "submitted" in kw and kw.get("phone") and kw.get("country_id"):
country_id = request.env["res.country"].browse(
int(kw["country_id"])
)
country_id = request.env["res.country"].browse(int(kw["country_id"]))
formated_vals = phone_format(
kw.get("phone"),
country_id.code if country_id else None,
Expand Down

0 comments on commit 417fc65

Please sign in to comment.