summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorChristian Grothoff <christian@grothoff.org>2019-12-23 00:48:19 +0100
committerChristian Grothoff <christian@grothoff.org>2019-12-23 00:48:19 +0100
commit93bd2ed45172e3eb469f07fc0d45570f2cc0beca (patch)
tree88209f59b7de6250c3614e1aaaf505a9382bdec9
parenta8c3ce42f7069f73a25b1d0b618fb24a713e897c (diff)
downloadwww-93bd2ed45172e3eb469f07fc0d45570f2cc0beca.tar.gz
www-93bd2ed45172e3eb469f07fc0d45570f2cc0beca.tar.bz2
www-93bd2ed45172e3eb469f07fc0d45570f2cc0beca.zip
try help logic find i18nfix
-rwxr-xr-xmake_site.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_site.py b/make_site.py
index 4c2605a..c7d2615 100755
--- a/make_site.py
+++ b/make_site.py
@@ -12,6 +12,12 @@
import jinja2
import sys
from pathlib import Path, PurePath
+
+# Make sure the current directory is in the search path when trying
+# to import i18nfix.
+sys.path.insert(0, ".")
+sys.path.insert(0, "inc/")
+
from inc.site import gen_site
from inc.fileproc import copy_files