From b0bdcbd3f96621b1e145d0cefa33d0f1d87f5e68 Mon Sep 17 00:00:00 2001 From: Phillip Berndt Date: Tue, 19 Sep 2017 15:38:48 +0200 Subject: =?UTF-8?q?LOKALE=20=C3=84NDERUNGEN=20DAMIT=20DAS=20HIER=20L=C3=84?= =?UTF-8?q?UFT?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- bin/gen.py | 4 ++-- etc/settings.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/bin/gen.py b/bin/gen.py index 0ba87f1..feda681 100755 --- a/bin/gen.py +++ b/bin/gen.py @@ -7,10 +7,10 @@ import xml.etree.ElementTree as ET import os.path, errno, sys # CONFIG -HTDOCS_DIR="/var/www/comics.spline.de/htdocs" +HTDOCS_DIR="/home/pberndt/comics/htdocs" IMAGE_DIR=HTDOCS_DIR + "/imgs/" TARGET_DIR=HTDOCS_DIR + "/sites/" -TEMPLATE_DIR="/var/www/comics.spline.de/templates" +TEMPLATE_DIR="/home/pberndt/comics/templates/" from jinja2 import Environment, FileSystemLoader env = Environment(loader=FileSystemLoader(TEMPLATE_DIR), autoescape=True) diff --git a/etc/settings.sh b/etc/settings.sh index 8a149ba..862d684 100644 --- a/etc/settings.sh +++ b/etc/settings.sh @@ -24,4 +24,4 @@ if [ ! -d "${image_dir}" ]; then mkdir -p "${image_dir}" fi -wget_args="--timeout 100 --wait=10 --random-wait --no-cache" +wget_args="--timeout 100 --no-cache" -- cgit v1.2.3-1-g7c22