diff options
Diffstat (limited to 'libbe/comment.py')
-rw-r--r-- | libbe/comment.py | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/libbe/comment.py b/libbe/comment.py index e2f4ba7..60cccff 100644 --- a/libbe/comment.py +++ b/libbe/comment.py @@ -258,10 +258,9 @@ class Comment(Tree, settings_object.SavedSettingsObject): def _setting_attr_string(self, setting): value = getattr(self, setting) - if value in [None, settings_object.EMPTY]: + if value == None: return "" - else: - return str(value) + return str(value) def xml(self, indent=0, shortname=None): """ |