Skip to content

Commit

Permalink
linting fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
T0jan committed Aug 21, 2024
1 parent f54ca66 commit b9f9503
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kintree/search/tme_api.py
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ def search_product(response):
index = index + 1
return found, index

tme_api_settings = config_interface.load_file(settings.CONFIG_TME_API)
tme_api_settings = config_interface.load_file(settings.CONFIG_TME_API)
params = {'SymbolList[0]': part_number}
response = tme_api_query(tme_api_request('/Products/GetProducts', tme_api_settings, params))

Expand Down Expand Up @@ -174,7 +174,7 @@ def search_product(response):

part_info['currency'] = response['Data'][currency_key]

# Query the files associated to the product
# Query the files associated to the product
params = {'SymbolList[0]': part_number}
response = tme_api_query(tme_api_request('/Products/GetProductsFiles', tme_api_settings, params))
# check if accidentally no products returned
Expand Down

0 comments on commit b9f9503

Please sign in to comment.