mirror of
https://github.com/NoRedInk/noredink-ui.git
synced 2024-12-25 06:33:09 +03:00
make sure to load the right elm.json
This commit is contained in:
parent
c036c93860
commit
67203f8bce
@ -1,9 +1,12 @@
|
||||
#!/usr/bin/env python
|
||||
import json
|
||||
import os.path as path
|
||||
import re
|
||||
import subprocess
|
||||
|
||||
with open('elm.json', 'r') as fh:
|
||||
HERE = path.realpath(path.abspath(path.join(path.dirname(__file__), '..')))
|
||||
|
||||
with open(path.join(HERE, 'elm.json'), 'r') as fh:
|
||||
modules = json.load(fh)["exposed-modules"]
|
||||
|
||||
widgets = {}
|
||||
|
Loading…
Reference in New Issue
Block a user