From ad95a1dd23e014045d07f92f6952fd7f0c4d9c76 Mon Sep 17 00:00:00 2001 From: Simon Sapin Date: Thu, 21 Apr 2016 19:46:23 +0200 Subject: [PATCH] Blind attempt at fixing a Python import error on Windows. See #10789. --- components/style/properties/build.py | 1 + 1 file changed, 1 insertion(+) diff --git a/components/style/properties/build.py b/components/style/properties/build.py index a8472a1a55d..7dbedd87f29 100644 --- a/components/style/properties/build.py +++ b/components/style/properties/build.py @@ -8,6 +8,7 @@ import sys BASE = os.path.dirname(__file__) sys.path.insert(0, os.path.join(BASE, "Mako-0.9.1.zip")) +sys.path.insert(0, BASE) # For importing `data.py` from mako import exceptions from mako.template import Template