Closed dbr closed 8 years ago
If there is an error while loading tabtabtab_weights.json, currently the file will be reset to default {} when next used.
tabtabtab_weights.json
{}
This means a temporary file-access glitch or hand-editing typo results in all weights being lost, which is annoying
Instead the weights should only be written if a) loading the file was successful, or b) the file did not exist previously
If there is an error while loading
tabtabtab_weights.json
, currently the file will be reset to default{}
when next used.This means a temporary file-access glitch or hand-editing typo results in all weights being lost, which is annoying
Instead the weights should only be written if a) loading the file was successful, or b) the file did not exist previously