aboutsummaryrefslogtreecommitdiffstats
path: root/fg21sim/extragalactic/pointsources
diff options
context:
space:
mode:
authorAaron LI <aaronly.me@outlook.com>2016-11-05 09:57:29 +0800
committerAaron LI <aaronly.me@outlook.com>2016-11-05 09:57:29 +0800
commitf6bf46fa19abb546f0c3bf92f769b9b3a5637844 (patch)
tree57bc667955a97047cbe9793f0c6e0831f34441e3 /fg21sim/extragalactic/pointsources
parent88c549ebf97807fa9487db88974df6eb48aa6edd (diff)
downloadfg21sim-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 'fg21sim/extragalactic/pointsources')
0 files changed, 0 insertions, 0 deletions