all repos — artbound-python @ 403441d201bf5ec950197d9eee84d46bea92dd0f

A client-server reimplementation of the administration panel for ArtBound.

use correct timezone
BiRabittoh birabittoh@tilde.team
Sat, 05 Aug 2023 21:45:45 +0200
commit

403441d201bf5ec950197d9eee84d46bea92dd0f

parent

4ab8582c6bb9b125427e4b5bc809a23519976fa6

2 files changed, 6 insertions(+), 7 deletions(-)

jump to
M artbound_python/static/script.jsartbound_python/static/script.js

@@ -279,9 +279,8 @@ const response = confirm("Vuoi davvero scaricare tutte le fanart?");

if(response == false) return; fanarts.forEach((fanart) => { - if(fanart.enabled) { - saveCanvas(fanart.canvas, fanart.canvas.getAttribute("data-filename")) - } + if(fanart.enabled) + saveCanvas(fanart.canvas, fanart.canvas.getAttribute("data-filename")); }) }

@@ -290,8 +289,7 @@ const response = confirm("Vuoi davvero scaricare tutte le storie per le fanart?");

if(response == false) return; fanarts.forEach((fanart) => { - if(fanart.enabled) { - saveCanvasIG(fanart.canvas) - } - }) + if(fanart.enabled) + saveCanvasIG(fanart.canvas); + }); }
M docker-compose.yamldocker-compose.yaml

@@ -9,6 +9,7 @@ # environment:

# - SPREADSHEET_ID= # - RANGE= volumes: + - /etc/localtime:/etc/localtime:ro - cache:/app/artbound_python/static/res/cache/ - ${PWD}/.env:/app/.env - ${PWD}/credentials.json:/app/credentials.json