mirror of
https://github.com/beetbox/beets.git
synced 2026-01-20 15:14:13 +01:00
fix test cases, support in memory db
This commit is contained in:
parent
d3d9318c18
commit
879ed7f5c2
1 changed files with 2 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Reference in a new issue