mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-16 09:20:43 +08:00
Compare commits
3 Commits
e90f191a61
...
dfa891d11d
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
dfa891d11d | ||
|
|
5d7adb4bbd | ||
|
|
dae2c9ecf3 |
@ -100,9 +100,14 @@ class Alist_sync:
|
||||
#获取夸克挂载根目录
|
||||
data = self.get_storage_path(self.quark_storage_id)
|
||||
if data["driver"] != "Quark":
|
||||
print(f"Alist同步: 存储{slef.quark_storage_id}非夸克存储❌ {data["driver"]}")
|
||||
else:
|
||||
self.quark_mount_path = data["mount_path"]
|
||||
print(f"Alist同步: 存储{self.quark_storage_id}非夸克存储❌ {data["driver"]}")
|
||||
return 0
|
||||
quark_mount_root_path = re.sub(r".*root_folder_id\":\"",'',data["addition"])
|
||||
quark_mount_root_path = re.sub(r"\",.*", '', quark_mount_root_path)
|
||||
if quark_mount_root_path != "0" and quark_mount_root_path != "":
|
||||
print(f"Alist同步: 存储{self.quark_storage_id}挂载的目录非夸克根目录❌")
|
||||
return 0
|
||||
self.quark_mount_path = data["mount_path"]
|
||||
|
||||
#获取保存路径的挂载根目录
|
||||
if self.save_storage_id != 0:
|
||||
|
||||
Loading…
Reference in New Issue
Block a user