📋 Metadata

💬 Content

chombor:

Is it possible to make execute path a little bit more flexible? Something like this

execute_script("<i>os.path.join(os.environ['ONEDRIVE'], </i>"Code/addons/addon.py"<i>)</i>")

Hi, check the code. Try to remove double quotes:

execute_script(<i>os.path.join(os.environ['ONEDRIVE'], </i>"Code/addons/addon.py"<i>)</i>)

🔗 View on Blender Artists