Don't use attribute name if there is no help text

Signed-off-by: Roberto Rosario <roberto.rosario@mayan-edms.com>
This commit is contained in:
Roberto Rosario
2019-12-08 14:51:23 -04:00
parent 242a5c1d41
commit 15b4df54bf
2 changed files with 3 additions and 1 deletions
+1 -1
View File
@@ -754,7 +754,7 @@ class SourceColumn(object):
name=name, model=model
)
except AttributeError:
self._help_text = self.attribute
self._help_text = None
self.help_text = self._help_text