Return 'no description' instead of empty string

pull/21/head
Dan Puttick 2017-07-27 17:05:00 -04:00
parent c1d3457562
commit 17b453af20
1 changed files with 1 additions and 1 deletions

View File

@ -91,7 +91,7 @@ class FileBase(object):
@property
def description_string(self):
if len(self._description_string) == 0:
return ''
return 'No description'
elif len(self._description_string) == 1:
return self._description_string[0]
else: