mirror of
https://github.com/ynput/ayon-core.git
synced 2026-01-01 16:34:53 +01:00
use absolute path to defaults
This commit is contained in:
parent
de92f0a8d3
commit
50434ecb60
1 changed files with 4 additions and 1 deletions
|
|
@ -26,7 +26,10 @@ JSON_EXC = getattr(json.decoder, "JSONDecodeError", ValueError)
|
||||||
|
|
||||||
|
|
||||||
# Path to default settings
|
# Path to default settings
|
||||||
DEFAULTS_DIR = os.path.join(os.path.dirname(__file__), "defaults")
|
DEFAULTS_DIR = os.path.join(
|
||||||
|
os.path.dirname(os.path.abspath(__file__)),
|
||||||
|
"defaults"
|
||||||
|
)
|
||||||
|
|
||||||
# Variable where cache of default settings are stored
|
# Variable where cache of default settings are stored
|
||||||
_DEFAULT_SETTINGS = None
|
_DEFAULT_SETTINGS = None
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue