From 2da2618a354645dfdb61e71c47716b46e866a631 Mon Sep 17 00:00:00 2001 From: Peter Molnar Date: Wed, 25 Jul 2018 20:29:40 +0100 Subject: [PATCH] minor bugfixes --- nasg.py | 2 +- run | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/nasg.py b/nasg.py index abf8e66..92a6e1f 100644 --- a/nasg.py +++ b/nasg.py @@ -867,7 +867,7 @@ class IndexPHP(object): 'redirects': self.redirect }) with open(self.renderfile, 'wt') as f: - logging.info("rendering to %s", target) + logging.info("rendering to %s", self.renderfile) f.write(r) diff --git a/run b/run index be16162..e2d1678 100755 --- a/run +++ b/run @@ -5,4 +5,4 @@ IFS=$'\n\t' source ./.venv/bin/activate python3 nasg.py "$@" -rsync -avu ../www/ liveserver:/web/petermolnar.net/web/ +rsync -avu --delete-after ../www/ liveserver:/web/petermolnar.net/web/