diff options
author | Aaron LI <aaronly.me@outlook.com> | 2016-11-05 09:57:29 +0800 |
---|---|---|
committer | Aaron LI <aaronly.me@outlook.com> | 2016-11-05 09:57:29 +0800 |
commit | f6bf46fa19abb546f0c3bf92f769b9b3a5637844 (patch) | |
tree | 57bc667955a97047cbe9793f0c6e0831f34441e3 /MANIFEST.in | |
parent | 88c549ebf97807fa9487db88974df6eb48aa6edd (diff) | |
download | fg21sim-f6bf46fa19abb546f0c3bf92f769b9b3a5637844.tar.bz2 |
webui: websocket.py: Support "reset", "load", "save" actions.
* Improve the response data to be more consistent. If the request
failed, the returned response has "success" item of value "False" and
an "error" item recording the message;
* Add method "_reset_configs()" to handle the "reset" action;
* Add method "_load_configs()" to handle the "load" action;
* Add method "_save_configs()" to handle the "save" action.
NOTE: needs tests.
Diffstat (limited to 'MANIFEST.in')
0 files changed, 0 insertions, 0 deletions