From ba8f80e4aaca18b45de238af24b5df9e6f2a79ef Mon Sep 17 00:00:00 2001 From: Christoffer Viken Date: Fri, 10 Feb 2017 14:00:11 +0000 Subject: [PATCH] Ritchie damn it! Unicode --- text_based.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/text_based.py b/text_based.py index d644a5f..b99977f 100755 --- a/text_based.py +++ b/text_based.py @@ -837,7 +837,7 @@ class ShowUserMenu(Menu): text = '' text += 'Products purchased:\n' for product, count in products: - text += '{0:<47} {1:>3}\n'.format(product.name, count) + text += u'{0:<47} {1:>3}\n'.format(product.name, count) less(text)