fix config value overwrite; closes #249

This commit is contained in:
thatmattlove 2024-05-31 22:24:41 -04:00
parent ad88d025c2
commit 4b6e6cba70

View file

@ -62,7 +62,7 @@ class HyperglassModel(BaseModel):
*(p for p in value.parts if p not in Settings.original_app_path.parts) *(p for p in value.parts if p not in Settings.original_app_path.parts)
) )
if isinstance(value, str): if isinstance(value, str) and str(Settings.original_app_path) in value:
if Settings.container: if Settings.container:
path = Path(value) path = Path(value)
return str( return str(