mirror of
https://github.com/mandiant/capa.git
synced 2025-12-12 15:49:46 -08:00
display value including 0
This commit is contained in:
@@ -74,7 +74,7 @@ class Feature(object):
|
||||
return self.value
|
||||
|
||||
def __str__(self):
|
||||
if self.value:
|
||||
if self.value is not None:
|
||||
if self.description:
|
||||
return "%s(%s = %s)" % (self.name, self.get_value_str(), self.description)
|
||||
else:
|
||||
|
||||
Reference in New Issue
Block a user