mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-18 02:40:44 +08:00
Compare commits
3 Commits
86fcb2995b
...
a949220cfc
| Author | SHA1 | Date | |
|---|---|---|---|
|
|
a949220cfc | ||
|
|
f62ca7a057 | ||
|
|
c3ff5a49bd |
@ -304,6 +304,7 @@ def get_savepath_detail():
|
||||
account = Quark(config_data["cookie"][0], 0)
|
||||
paths = []
|
||||
if path := request.args.get("path"):
|
||||
path = re.sub(r"/+", "/", path)
|
||||
if path == "/":
|
||||
fid = 0
|
||||
else:
|
||||
|
||||
@ -983,6 +983,7 @@
|
||||
this.fileSelect.paths = [];
|
||||
this.fileSelect.index = index;
|
||||
$('#fileSelectModal').modal('toggle');
|
||||
this.formData.tasklist[index].savepath = this.formData.tasklist[index].savepath.replace(/\/+/g, "/");
|
||||
this.getSavepathDetail(this.formData.tasklist[index].savepath);
|
||||
},
|
||||
getShareDetail() {
|
||||
|
||||
@ -943,7 +943,7 @@ def do_save(account, tasklist=[]):
|
||||
print(f"更子目录: {task['update_subdir']}")
|
||||
if task.get("runweek") or task.get("enddate"):
|
||||
print(
|
||||
f"运行周期: WK{task.get("runweek",[])} ~ {task.get('enddate','forever')}"
|
||||
f"运行周期: WK{task.get('runweek',[])} ~ {task.get('enddate','forever')}"
|
||||
)
|
||||
print()
|
||||
# 判断任务周期
|
||||
|
||||
Loading…
Reference in New Issue
Block a user