Skip to content
This repository has been archived by the owner on Apr 26, 2024. It is now read-only.

.cache\wal\colos.json generated with broken json on Windows #565

Closed
npdev453 opened this issue Nov 24, 2020 · 2 comments
Closed

.cache\wal\colos.json generated with broken json on Windows #565

npdev453 opened this issue Nov 24, 2020 · 2 comments

Comments

@npdev453
Copy link

On windows pywal gen incorrect unparsable json for colors.json
example:

{
    "wallpaper": "C:\Users\np\AppData\Local\Temp\2.jpg",
    "alpha": "100",
}

what should to be:

{
    "wallpaper": "C:\\Users\\np\\AppData\\Local\\Temp\\2.jpg",
    "alpha": "100",
}
@npdev453
Copy link
Author

npdev453 commented Nov 24, 2020

possible fix
#564

but I`m not fluent in python, imm json should be serialized correctly before it exported to file (in Node.js its JSON.stringify)

@npdev453
Copy link
Author

npdev453 commented Aug 3, 2023

Seems to be fixed

@npdev453 npdev453 closed this as completed Aug 3, 2023
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant