diff options
author | Muriithi Frederick Muriuki | 2018-02-21 11:46:52 +0300 |
---|---|---|
committer | Pjotr Prins | 2018-03-26 09:29:29 +0000 |
commit | baa60e0ae0513e70aa52737bf6059f2043c539bc (patch) | |
tree | 995f8edb46647ba24e3cef6d35123cb31d2046cb /wqflask/db | |
parent | e4b7e72d83a6dba40a38c58e62e338bd257862ef (diff) | |
download | genenetwork2-baa60e0ae0513e70aa52737bf6059f2043c539bc.tar.gz |
Fix assumption of existing collection
* When logging in, if a user selects "Import existing collections", the
system would throw an exception, since Redis would return a NoneType,
which would then be accessed by json.loads(), which doesn't seem to
know how to process that.
This fixes that, by providing a string representing an empty json
array ("[]"), in place of the NoneType.
Diffstat (limited to 'wqflask/db')
0 files changed, 0 insertions, 0 deletions