commit 93bd2ed45172e3eb469f07fc0d45570f2cc0beca
parent a8c3ce42f7069f73a25b1d0b618fb24a713e897c
Author: Christian Grothoff <christian@grothoff.org>
Date: Mon, 23 Dec 2019 00:48:19 +0100
try help logic find i18nfix
Diffstat:
1 file changed, 6 insertions(+), 0 deletions(-)
diff --git 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