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