mirror of
https://github.com/Cp0204/quark-auto-save.git
synced 2026-01-18 10:50:43 +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)
|
account = Quark(config_data["cookie"][0], 0)
|
||||||
paths = []
|
paths = []
|
||||||
if path := request.args.get("path"):
|
if path := request.args.get("path"):
|
||||||
|
path = re.sub(r"/+", "/", path)
|
||||||
if path == "/":
|
if path == "/":
|
||||||
fid = 0
|
fid = 0
|
||||||
else:
|
else:
|
||||||
|
|||||||
@ -983,6 +983,7 @@
|
|||||||
this.fileSelect.paths = [];
|
this.fileSelect.paths = [];
|
||||||
this.fileSelect.index = index;
|
this.fileSelect.index = index;
|
||||||
$('#fileSelectModal').modal('toggle');
|
$('#fileSelectModal').modal('toggle');
|
||||||
|
this.formData.tasklist[index].savepath = this.formData.tasklist[index].savepath.replace(/\/+/g, "/");
|
||||||
this.getSavepathDetail(this.formData.tasklist[index].savepath);
|
this.getSavepathDetail(this.formData.tasklist[index].savepath);
|
||||||
},
|
},
|
||||||
getShareDetail() {
|
getShareDetail() {
|
||||||
|
|||||||
@ -943,7 +943,7 @@ def do_save(account, tasklist=[]):
|
|||||||
print(f"更子目录: {task['update_subdir']}")
|
print(f"更子目录: {task['update_subdir']}")
|
||||||
if task.get("runweek") or task.get("enddate"):
|
if task.get("runweek") or task.get("enddate"):
|
||||||
print(
|
print(
|
||||||
f"运行周期: WK{task.get("runweek",[])} ~ {task.get('enddate','forever')}"
|
f"运行周期: WK{task.get('runweek',[])} ~ {task.get('enddate','forever')}"
|
||||||
)
|
)
|
||||||
print()
|
print()
|
||||||
# 判断任务周期
|
# 判断任务周期
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user