mirror of
https://github.com/AllSpiceIO/cofactr-cogs.git
synced 2025-04-10 22:50:08 +00:00
Change to not use manufacturer in query when search strategy is mpn_exact
This commit is contained in:
parent
27efa7113b
commit
e38799307b
@ -57,7 +57,7 @@ def fetch_price_for_part(
|
||||
)
|
||||
|
||||
query = part_number
|
||||
if manufacturer:
|
||||
if search_strategy != "mpn_exact" and manufacturer:
|
||||
query += f" {manufacturer}"
|
||||
|
||||
search_response = requests.get(
|
||||
|
Loading…
Reference in New Issue
Block a user