Skip to content

Commit 76179af

Browse files
committed
Merge remote-tracking branch 'upstream/main' into koreader-sync
2 parents 7a8649b + 193ae0a commit 76179af

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

root/app/calibre-web/cps/cwa_functions.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -72,7 +72,7 @@ def cwa_switch_theme():
7272
config.config_default_show |= constants.DETAIL_RANDOM
7373

7474
config.save()
75-
return redirect("/", code=302)
75+
return redirect(url_for("web.index"), code=302)
7676

7777
##————————————————————————————————————————————————————————————————————————————##
7878
## ##
@@ -96,7 +96,7 @@ def cwa_library_refresh():
9696
else:
9797
flash(_("Library Refresh: An unexpected error occurred, check the logs."), category="cwa_refresh")
9898

99-
return redirect("/", code=302)
99+
return redirect(url_for("web.index"), code=302)
100100

101101
##————————————————————————————————————————————————————————————————————————————##
102102
## ##
@@ -688,4 +688,4 @@ def get_status():
688688
progress = extract_progress(status)
689689
statusList = {'status':status,
690690
'progress':progress}
691-
return json.dumps(statusList)
691+
return json.dumps(statusList)

root/etc/s6-overlay/s6-rc.d/cwa-auto-zipper/run

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,9 +8,11 @@ mkdir -p /config/processed_books/imported
88
mkdir -p /config/processed_books/failed
99
mkdir -p /config/processed_books/fixed_originals
1010
mkdir -p /config/log_archive
11+
mkdir -p /config/.cwa_conversion_tmp
1112

1213
chown -R abc:abc /config/processed_books
1314
chown -R abc:abc /config/log_archive
15+
chown -R abc:abc /config/.cwa_conversion_tmp
1416

1517

1618
tz=$(printcontenv TZ)

0 commit comments

Comments
 (0)