aboutsummaryrefslogtreecommitdiff
path: root/wqflask/base
diff options
context:
space:
mode:
Diffstat (limited to 'wqflask/base')
-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 6c5ca8b2..6b4fff20 100644
--- a/wqflask/base/trait.py
+++ b/wqflask/base/trait.py
@@ -329,7 +329,7 @@ class GeneralTrait(object):
#
# description = self.pre_publication_description
- if len(description) > 0:
+ if description:
self.description_display = description.strip()
else:
self.description_display = ""