[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:
jack1142
2019-10-22 04:43:00 +02:00
committed by Michael H
parent 8267ad9aab
commit 3b0fa0c05d
4 changed files with 9 additions and 4 deletions

View 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.

View File

@@ -0,0 +1 @@
Always append 3rd-party lib folder to the end of ``sys.path`` to avoid shadowing Red's dependencies.