mirror of
https://github.com/jxxghp/MoviePilot.git
synced 2026-06-05 15:39:40 +08:00
修复 下载器监控构造的原盘路径需以/结尾
This commit is contained in:
@@ -873,7 +873,7 @@ class TransferChain(ChainBase, metaclass=Singleton):
|
|||||||
state, errmsg = self.do_transfer(
|
state, errmsg = self.do_transfer(
|
||||||
fileitem=FileItem(
|
fileitem=FileItem(
|
||||||
storage="local",
|
storage="local",
|
||||||
path=file_path.as_posix(),
|
path=file_path.as_posix() + ("/" if file_path.is_dir() else ""),
|
||||||
type="dir" if not file_path.is_file() else "file",
|
type="dir" if not file_path.is_file() else "file",
|
||||||
name=file_path.name,
|
name=file_path.name,
|
||||||
size=file_path.stat().st_size,
|
size=file_path.stat().st_size,
|
||||||
|
|||||||
Reference in New Issue
Block a user