mirror of
https://github.com/Cog-Creators/Red-DiscordBot.git
synced 2025-11-21 10:17:59 -05:00
[Core/Downloader] Add 3rd-party lib folder to sys.path before loading cogs (#3062)
* fix(core,downloader): add lib folder to sys.path before loading cogs * chore(changelog): add towncrier entry * fix(core): always append 3rd-party lib path to the end of `sys.path`
This commit is contained in:
1
changelog.d/3036.bugfix.rst
Normal file
1
changelog.d/3036.bugfix.rst
Normal file
@@ -0,0 +1 @@
|
||||
Add 3rd-party lib folder to ``sys.path`` before loading cogs. This prevents issues with 3rd-party cogs failing to load without loaded Downloader due to unavailable requirements.
|
||||
1
changelog.d/3062.bugfix.rst
Normal file
1
changelog.d/3062.bugfix.rst
Normal file
@@ -0,0 +1 @@
|
||||
Always append 3rd-party lib folder to the end of ``sys.path`` to avoid shadowing Red's dependencies.
|
||||
Reference in New Issue
Block a user