JesusFreke / fusion_idea_addin

An add-in for Fusion 360 that serves as a bridge between Fusion 360 and the fusion_idea plugin for IDEA/PyCharm.
Other
5 stars 4 forks source link

Changed addin to avoid duplicate entries in python system path #3

Open cstraetgen opened 10 months ago

cstraetgen commented 10 months ago

After starting a script several times I recognized that the python system path was extended by pydevd_path each time the script was run.

This update introduces a check before appending to the system path to ensure no duplicate entries are added. This modification prevents the unnecessary cluttering of the system path with the same paths multiple times.