Fix config saving by not trying to save None default values.

This commit is contained in:
2026-06-02 22:35:44 +00:00
parent 568605b09a
commit b0d13a67a0
+1 -1
View File
@@ -14,7 +14,7 @@ import msgspec
import msgspec.toml
class Config(msgspec.Struct):
class Config(msgspec.Struct, omit_defaults=True):
media_folder: str | None = None
roots: dict[str, str] | None = None