mirror of
https://github.com/9001/copyparty.git
synced 2025-08-18 09:22:31 -06:00
dont scan orphaned volumes
This commit is contained in:
parent
9697fb3d84
commit
951fdb27ca
|
@ -596,6 +596,9 @@ class Up2k(object):
|
||||||
if stat.S_ISDIR(inf.st_mode):
|
if stat.S_ISDIR(inf.st_mode):
|
||||||
if abspath in excl or abspath == histpath:
|
if abspath in excl or abspath == histpath:
|
||||||
continue
|
continue
|
||||||
|
if iname == ".th" and bos.path.isdir(os.path.join(abspath, "top")):
|
||||||
|
# abandoned or foreign, skip
|
||||||
|
continue
|
||||||
# self.log(" dir: {}".format(abspath))
|
# self.log(" dir: {}".format(abspath))
|
||||||
try:
|
try:
|
||||||
ret += self._build_dir(dbw, top, excl, abspath, rei, reh, seen)
|
ret += self._build_dir(dbw, top, excl, abspath, rei, reh, seen)
|
||||||
|
|
Loading…
Reference in a new issue