feat(transfer): match source dir in subdirs or prioritize same drive

This commit is contained in:
InfinityPacer
2024-12-30 02:11:48 +08:00
parent c49e79dda3
commit 166674bfe7
4 changed files with 13 additions and 21 deletions

View File

@@ -226,8 +226,7 @@ class Monitor(metaclass=Singleton):
basename=event_path.stem,
extension=event_path.suffix[1:],
size=file_size
),
src_match=True
)
)
except Exception as e:
logger.error("目录监控发生错误:%s - %s" % (str(e), traceback.format_exc()))