aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base/trait.py
diff options
context:
space:
mode:
authorzsloan2016-05-26 22:23:35 +0000
committerzsloan2016-05-26 22:23:35 +0000
commitb1c65843dbe9f0f9c50a870c8c4229debec9f816 (patch)
treed01738ee8664ed4fb5b5158349a5c9a7f7e53d13 /wqflask/base/trait.py
parentbc5fa76c3005dded18c6c974b3c6a028094adff7 (diff)
parent2ccc9a69fa77e8f4920c1726e84d7e4acfb496b2 (diff)
downloadgenenetwork2-b1c65843dbe9f0f9c50a870c8c4229debec9f816.tar.gz
Merge branch 'master' of github.com:genenetwork/genenetwork2 into development
Diffstat (limited to 'wqflask/base/trait.py')
-rw-r--r--wqflask/base/trait.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/wqflask/base/trait.py b/wqflask/base/trait.py
index 4fc95a60..d1c0be83 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -331,7 +331,7 @@ class GeneralTrait(object):
#
# description = self.pre_publication_description
- if len(description) > 0:
+ if description:
self.description_display = description.strip()
else:
self.description_display = ""