mirror of
https://github.com/beetbox/beets.git
synced 2025-12-28 11:32:30 +01:00
Keep old pluginpath mechanism for compatibility
This commit is contained in:
parent
a4b6976755
commit
712358fab4
1 changed files with 3 additions and 0 deletions
|
|
@ -749,6 +749,9 @@ def _raw_main(args):
|
|||
import beetsplug
|
||||
beetsplug.__path__ = get_plugin_paths() + beetsplug.__path__
|
||||
|
||||
# For backwards compatibility
|
||||
sys.path += get_plugin_paths()
|
||||
|
||||
# Load requested plugins.
|
||||
plugins.load_plugins(config['plugins'].as_str_seq())
|
||||
plugins.send("pluginload")
|
||||
|
|
|
|||
Loading…
Reference in a new issue