This commit is contained in:
ed 2021-03-23 01:24:37 +01:00
parent 00dfd8cfd1
commit d8d1f94a86
2 changed files with 3 additions and 3 deletions

View file

@ -1,6 +1,6 @@
# coding: utf-8
VERSION = (0, 9, 11)
VERSION = (0, 9, 12)
CODENAME = "the strongest music server"
BUILD_DT = (2021, 3, 23)

View file

@ -288,9 +288,9 @@ class Up2k(object):
self.pp.n = next(dbw[0].execute("select count(w) from up"))[0]
excl = [
vol.realpath + d.vpath[len(vol.vpath) :]
vol.realpath + "/" + d.vpath[len(vol.vpath) :].lstrip("/")
for d in all_vols
if d.vpath.startswith(vol.vpath + "/")
if d != vol and (d.vpath.startswith(vol.vpath + "/") or not vol.vpath)
]
n_add = self._build_dir(dbw, top, set(excl), top)
n_rm = self._drop_lost(dbw[0], top)