fix(make.py): revert back to import
icyphox icyph0x@protonmail.com
Sun, 18 Mar 2018 00:11:53 +0530
1 files changed,
2 insertions(+),
5 deletions(-)
jump to
M
make.py
→
make.py
@@ -5,11 +5,8 @@ import jinja2
import importlib # import config file -try: - sys.path.append(os.getcwd()) - importlib.import_module('config') -except ModuleNotFoundError: - print('Error: config.py not found') +sys.path.append(os.getcwd()) +import config # constants PAGES_PATH = 'pages/'