diff --git a/lib/core/dump.py b/lib/core/dump.py index 9c569adf4..9deec738f 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -74,7 +74,7 @@ class Dump: def string(self, header, data, sort=True): if isListLike(data): self.lister(header, data, sort) - elif data: + elif data is not None: data = getUnicode(data) if data[-1] == '\n':