Open elamhut opened 3 years ago
Duplicate of #28
My bad, the other issue with \
as the last character. You can use escaped=False
to disable escaping.
>>> print(vdf.dumps({'path': 'd:\\NekoNeko\\Build'}, escaped=False))
"path" "d:\NekoNeko\Build"
As title implies when dumping something like:
"DepotBuildConfig" { "DepotID" "123456789" "contentroot"
"d:\\NekoNeko\\Build"
"FileMapping" { "LocalPath" "" "DepotPath" "." "recursive" "1" } "FileExclusion" ".pdb" }The path maintains its double backslashes when dumped