aboutsummaryrefslogtreecommitdiff
path: root/gn3/oauth2
diff options
context:
space:
mode:
authorMunyoki Kilyungi2024-09-20 16:53:39 +0300
committerBonfaceKilz2024-09-23 12:32:51 +0300
commitf55e7ec4cb7cffbe62a7a81612884e590a82dfa6 (patch)
tree357771ca2e8ffb4a9b17e779f5987ba6451b0852 /gn3/oauth2
parente4634e8cdc1ffdc518993d2aa8534690957ab565 (diff)
downloadgenenetwork3-f55e7ec4cb7cffbe62a7a81612884e590a82dfa6.tar.gz
Remove one-line if/else statement.
* gn3/db/rdf/wiki.py (__sanitize_result): When fetching pubmed_ids and categories, default to [] if the key misses, and remove the subsequent one-line if/else statement. Signed-off-by: Munyoki Kilyungi <me@bonfacemunyoki.com>
Diffstat (limited to 'gn3/oauth2')
0 files changed, 0 insertions, 0 deletions