soonum / hubangl

A free/libre and easy to use streaming software.
GNU General Public License v3.0
17 stars 3 forks source link

json loading fails if the file has nice formatting #33

Closed leaf-node closed 6 years ago

leaf-node commented 6 years ago

if I use this command:

python -m json.tool < config-old.huba > config-new.huba

then the new file causes hubangl to freeze when loading in the file via -l.

The formatted version is easier to read and make edits to. This isn't really major, but fixing this issue might be as easy as using something like JSON.parse() (at least that's what you do in JavaScript.)

soonum commented 6 years ago

A minor change for real benefits ;) Commit 01792ce fix this behaviour.

Closing.