diff options
Diffstat (limited to 'src/python/module.py')
| -rw-r--r-- | src/python/module.py | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/python/module.py b/src/python/module.py index f04c60c68..65c54f4bb 100644 --- a/src/python/module.py +++ b/src/python/module.py @@ -19,9 +19,11 @@ import pathlib -DIR = pathlib.Path(__file__).resolve().parents[2] / "modules" -CONTRIB_DIR = DIR / "contrib" -EXTRA_DIR = DIR / "extra" +from . import common + +DIR = common.ROOT / "modules" +CONTRIB_DIR = DIR / "contrib" +EXTRA_DIR = DIR / "extra" # Converts a module name to a file name. |
