summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xmake_site.py6
1 files changed, 6 insertions, 0 deletions
diff --git a/make_site.py b/make_site.py
index 4c2605ac..c7d2615f 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