mirror of
https://github.com/thsrite/MoviePilot-Plugins.git
synced 2026-03-27 10:05:57 +00:00
fix CloudLinkMonitor bug
This commit is contained in:
@@ -57,7 +57,7 @@ class CloudLinkMonitor(_PluginBase):
|
||||
# 插件图标
|
||||
plugin_icon = "Linkease_A.png"
|
||||
# 插件版本
|
||||
plugin_version = "1.1"
|
||||
plugin_version = "1.2"
|
||||
# 插件作者
|
||||
plugin_author = "thsrite"
|
||||
# 作者主页
|
||||
@@ -433,9 +433,9 @@ class CloudLinkMonitor(_PluginBase):
|
||||
# 判断文件大小
|
||||
if self._size and float(self._size) > 0 and file_path.stat().st_size < float(self._size) * 1024:
|
||||
logger.info(f"{event_path} 文件大小小于最小文件大小,复制...")
|
||||
_transfer_type = self._transfer_type
|
||||
else:
|
||||
_transfer_type = "copy"
|
||||
else:
|
||||
_transfer_type = self._transfer_type
|
||||
|
||||
# 查询转移目的目录
|
||||
target: Path = self._dirconf.get(mon_path)
|
||||
|
||||
Reference in New Issue
Block a user