all repos — py-vite @ 3a72865981d5f886bc37435a3237ee3e31a49517

the original vite, written in python

fix(make.py): revert back to import
icyphox icyph0x@protonmail.com
Sun, 18 Mar 2018 00:11:53 +0530
commit

3a72865981d5f886bc37435a3237ee3e31a49517

parent

c35a0ce7dccba07a03235428aba0e6b2c7bb0298

1 files changed, 2 insertions(+), 5 deletions(-)

jump to
M make.pymake.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/'