aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBonfaceKilz2021-04-28 21:20:54 +0300
committerBonfaceKilz2021-04-28 21:20:54 +0300
commit41791eb9eb809c11b5bd953235ae98c4b4d82156 (patch)
tree9736eb017c081ad7b5abbdb119c15baa1bc68b60
parented434e8fba9f807d94892d06d6191f5de6670bd9 (diff)
downloadgenenetwork2-41791eb9eb809c11b5bd953235ae98c4b4d82156.tar.gz
Remove stale comments
-rw-r--r--wqflask/wqflask/views.py3
1 files changed, 0 insertions, 3 deletions
diff --git a/wqflask/wqflask/views.py b/wqflask/wqflask/views.py
index b1c2ed68..31ba8df0 100644
--- a/wqflask/wqflask/views.py
+++ b/wqflask/wqflask/views.py
@@ -972,9 +972,6 @@ def json_default_handler(obj):
# Handle custom objects
if hasattr(obj, '__dict__'):
return obj.__dict__
- #elif type(obj) == "Dataset":
- # logger.info("Not going to serialize Dataset")
- # return None
else:
raise TypeError('Object of type %s with value of %s is not JSON serializable' % (
type(obj), repr(obj)))