From bc1c5a59f8f1bcae8edeaa5ea893e59d5aca09ec Mon Sep 17 00:00:00 2001 From: Moritz Raabe Date: Mon, 5 Oct 2020 22:10:04 +0200 Subject: [PATCH] display value including 0 --- capa/features/__init__.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/capa/features/__init__.py b/capa/features/__init__.py index 0a9a59c7..b20d8d69 100644 --- a/capa/features/__init__.py +++ b/capa/features/__init__.py @@ -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: