commit fc23b0f49037df3263bf8b5378c3937844375502
parent ec795ba3c02b6e292994e8d81ca1b46b927c34eb
Author: ThomasV <thomasv@gitorious>
Date: Wed, 3 Jun 2015 14:18:49 +0200
fix #1274
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/util.py b/lib/util.py
@@ -131,7 +131,7 @@ def format_satoshis(x, is_diff=False, num_zeros = 0, decimal_point = 8, whitespa
if whitespaces:
result += " " * (decimal_point - len(fract_part))
result = " " * (15 - len(result)) + result
- return result
+ return result.decode('utf8')
def format_time(timestamp):
import datetime