From 9787f4b3170b122a7f4a8956a1fcea2b204ce151 Mon Sep 17 00:00:00 2001 From: thsrite Date: Sat, 10 Aug 2024 19:58:13 +0800 Subject: [PATCH] fix --- plugins/cloudsyncdel/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugins/cloudsyncdel/__init__.py b/plugins/cloudsyncdel/__init__.py index 7407da6..a71c6a1 100644 --- a/plugins/cloudsyncdel/__init__.py +++ b/plugins/cloudsyncdel/__init__.py @@ -243,7 +243,7 @@ class CloudSyncDel(_PluginBase): for library_path in paths.keys(): if str(file_path).startswith(str(library_path)): # 替换网盘路径 - return str(file_path).replace(str(library_path), paths.get(str(library_path))) + return str(file_path).replace(str(library_path), str(paths.get(str(library_path)))) # 未匹配到路径,返回原路径 return file_path