diff options
-rwxr-xr-x | bin/gen.py | 4 | ||||
-rw-r--r-- | etc/settings.sh | 2 |
2 files changed, 3 insertions, 3 deletions
@@ -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" |