Put assets in their own directory

This commit is contained in:
Adrian Vollmer 2022-09-26 17:43:43 +02:00
parent 6c82664001
commit 6d059e3d6b
7 changed files with 1 additions and 1 deletions

View File

@ -41,7 +41,7 @@ def embed_assets(index_file):
'monkeypatch.js',
'pako.min.js',
]:
path = os.path.join(SCRIPT_PATH, filename)
path = os.path.join(SCRIPT_PATH, 'assets', filename)
init_files[filename] = open(path, 'r').read()
base_dir = os.path.dirname(index_file)