diff --git a/umu/umu_consts.py b/umu/umu_consts.py index 116febf6c..16a6fba7f 100644 --- a/umu/umu_consts.py +++ b/umu/umu_consts.py @@ -38,7 +38,7 @@ class Color(Enum): FLATPAK_ID = environ.get("FLATPAK_ID") or "" FLATPAK_PATH: Path | None = ( - Path(XDG_DATA_HOME, "umu") if FLATPAK_ID and XDG_DATA_HOME else None + Path(environ["XDG_DATA_HOME"], "umu") if FLATPAK_ID else None ) UMU_LOCAL: Path = FLATPAK_PATH or Path.home().joinpath(