minor bugfixes

This commit is contained in:
Peter Molnar 2018-07-25 20:29:40 +01:00
parent 074e80289c
commit 2da2618a35
2 changed files with 2 additions and 2 deletions

View file

@ -867,7 +867,7 @@ class IndexPHP(object):
'redirects': self.redirect 'redirects': self.redirect
}) })
with open(self.renderfile, 'wt') as f: with open(self.renderfile, 'wt') as f:
logging.info("rendering to %s", target) logging.info("rendering to %s", self.renderfile)
f.write(r) f.write(r)

2
run
View file

@ -5,4 +5,4 @@ IFS=$'\n\t'
source ./.venv/bin/activate source ./.venv/bin/activate
python3 nasg.py "$@" python3 nasg.py "$@"
rsync -avu ../www/ liveserver:/web/petermolnar.net/web/ rsync -avu --delete-after ../www/ liveserver:/web/petermolnar.net/web/