mirror of https://github.com/CIRCL/PyCIRCLean
Return 'no description' instead of empty string
parent
c1d3457562
commit
17b453af20
|
@ -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:
|
||||
|
|
Loading…
Reference in New Issue