diff --git a/README.md b/README.md index f253395..b673354 100644 --- a/README.md +++ b/README.md @@ -43,8 +43,8 @@ Add an 'LCSC Part #'* field with the LCSC component part number to the symbol's _The fields will be query in the order denoted above._ #### Fallback Fields*: -| 'lcsc#' | 'LCSC' | 'JLC' | 'MPN' | 'Mpn' | 'mpn' | -| --- | --- | --- | --- | --- | --- | +| 'JLC Part' | 'LCSC Part' | 'lcsc#' | 'LCSC' | 'JLC' | 'MPN' | 'Mpn' | 'mpn' | +| --- | --- | --- | --- | --- | --- | --- | --- | _The fields will be query in the order denoted above._ diff --git a/plugins/process.py b/plugins/process.py index f111a68..0de2a22 100644 --- a/plugins/process.py +++ b/plugins/process.py @@ -249,7 +249,7 @@ class ProcessManager: def _get_mpn_from_footprint(self, footprint: str): ''''Get the MPN/LCSC stock code from standard symbol fields.''' keys = ['LCSC Part #', 'JLCPCB Part #'] - fallback_keys = ['LCSC', 'JLC', 'MPN', 'Mpn', 'mpn'] + fallback_keys = ['LCSC Part', 'JLC Part', 'LCSC', 'JLC', 'MPN', 'Mpn', 'mpn'] for key in keys: if footprint.HasProperty(key):