Fix config saving by not trying to save None default values.
This commit is contained in:
+1
-1
@@ -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
|
||||
|
||||
|
||||
Reference in New Issue
Block a user