From e36ffce0d972334b07ee91b817fc3f30ed3598c4 Mon Sep 17 00:00:00 2001 From: zsloan Date: Wed, 18 May 2016 20:05:51 +0000 Subject: Updated dataset selection dropdown menus and fixed error caused by traits with no description --- wqflask/base/trait.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'wqflask/base') 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 = "" -- cgit v1.2.3