Skip to content

Commit

Permalink
Fix code style
Browse files Browse the repository at this point in the history
  • Loading branch information
maarcingebala committed Jan 27, 2021
1 parent f2325af commit bb4efe1
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions saleor/graphql/utils/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -156,9 +156,7 @@ def get_user_country_context(
if destination_address and destination_address.country:
if isinstance(destination_address, account_models.Address):
return destination_address.country.code
else:
return destination_address.country
return destination_address.country
elif company_address and company_address.country:
return company_address.country.code
else:
return settings.DEFAULT_COUNTRY
return settings.DEFAULT_COUNTRY

0 comments on commit bb4efe1

Please sign in to comment.