diff --git a/beets/dbcore/db.py b/beets/dbcore/db.py index 979c973a9..84fa1173d 100755 --- a/beets/dbcore/db.py +++ b/beets/dbcore/db.py @@ -903,6 +903,8 @@ class Database: # Check whether parental directories exist. def _path_checker(self, path): + if path == ":memory:": # For testing + return newpath = os.path.dirname(path) if not os.path.isdir(newpath): from beets.ui.commands import database_dir_creation