30350n / inventree_part_import

CLI to import parts from suppliers like DigiKey, LCSC, Mouser, etc. to InvenTree
MIT License
24 stars 8 forks source link

Fix small issue in recent update to LCSC (adjust json.get to json().get) #35

Closed cmidgley closed 2 months ago

cmidgley commented 2 months ago

I've been working on another pull request (coming shortly) and ran into an LCSC import issue. It looks like the latest update to add retry for LCSC (in the latest/non-released version) has a small typo (json.get needs to be json().get). I assume you will fix this yourself, but I thought I'd send it over just in case anyone else runs into it before you have the opportunity.

Thanks for the great work on this package!

30350n commented 2 months ago

Yeah, seems like I forgot to test that path and also forgot to remove a debug print. Probably was late...

Thanks a lot for the fix!