From ceeb3be303188f9d649313d6eec6d30873ba7229 Mon Sep 17 00:00:00 2001 From: Chris Johns Date: Wed, 24 Oct 2018 21:36:21 +1100 Subject: [PATCH] sb: Convert any unicode macro values to a string in __str__. --- source-builder/sb/macros.py | 1 + 1 file changed, 1 insertion(+) diff --git a/source-builder/sb/macros.py b/source-builder/sb/macros.py index 2abe386..9ba6cac 100644 --- a/source-builder/sb/macros.py +++ b/source-builder/sb/macros.py @@ -123,6 +123,7 @@ class macros: lc = 0 for l in ds: lc += 1 + l = self._unicode_to_str(l) while len(l): if indent: text += ' %21s %10s %12s' % (' ', ' ', ' ')