move root inside importable package space

This commit is contained in:
evilchili committed 2022-12-21 22:42:36 -08:00
1 parent 3c32ee3b52
commit 58c7e3246a
6 files changed
+1 -2

No files matched your search

+1 -2
View File
@@ -9,8 +9,7 @@ _reinstall_hint = "You might need to reinstall Groove On Demand to fix this erro
def root():
devroot = os.environ.get('GROOVE_ON_DEMAND_DEVROOT', None)
path = (Path(devroot) if devroot else Path(__file__).parent).expanduser().absolute()
path = Path(__file__).parent.expanduser().absolute() / Path('static')
logging.debug(f"Root is {path}")
return Path(path)
File renamed without changes.
File renamed without changes.
File renamed without changes.