From bfb954877aa2e368a5a6fd1b47070adf7da812b6 Mon Sep 17 00:00:00 2001 From: Adrian Sampson Date: Mon, 5 Oct 2020 08:53:51 -0400 Subject: [PATCH] Avoid mysterious namespace path problem (#3717) I'm still not sure what causes this problem (or more pertinently, what makes this problem *not* happen for me and others), but this should work around it regardless. --- beets/ui/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/beets/ui/__init__.py b/beets/ui/__init__.py index 09f30c109..d882e06fb 100644 --- a/beets/ui/__init__.py +++ b/beets/ui/__init__.py @@ -1114,7 +1114,7 @@ def _load_plugins(config): # Extend the `beetsplug` package to include the plugin paths. import beetsplug - beetsplug.__path__ = paths + beetsplug.__path__ + beetsplug.__path__ = paths + list(beetsplug.__path__) # For backwards compatibility, also support plugin paths that # *contain* a `beetsplug` package.