diff --git a/lib/core/dump.py b/lib/core/dump.py index bfab601dd..6b587f7b9 100644 --- a/lib/core/dump.py +++ b/lib/core/dump.py @@ -88,10 +88,8 @@ class Dump: return - data = getUnicode(data) - if data: - data = self._formatString(data) + data = self._formatString(getUnicode(data)) if data[-1] == '\n': data = data[:-1]