summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorPhillip Berndt <pberndt@spline.de>2017-09-19 15:38:48 +0200
committerPhillip Berndt <pberndt@spline.de>2017-09-19 15:38:48 +0200
commitb0bdcbd3f96621b1e145d0cefa33d0f1d87f5e68 (patch)
tree8e5e1eddf70319f37b0eeffbb41a2015301a3eb3
parent963db4bd94e3e992bf216edde8eaf702166d9347 (diff)
downloadcomics-b0bdcbd3f96621b1e145d0cefa33d0f1d87f5e68.tar.gz
comics-b0bdcbd3f96621b1e145d0cefa33d0f1d87f5e68.tar.bz2
comics-b0bdcbd3f96621b1e145d0cefa33d0f1d87f5e68.zip
LOKALE ÄNDERUNGEN DAMIT DAS HIER LÄUFT
-rwxr-xr-xbin/gen.py4
-rw-r--r--etc/settings.sh2
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"