Fix config saving by not trying to save None default values.
This commit is contained in:
1 parent
568605b09a
commit
b0d13a67a0
1 file changed
+1
-1
+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