From a2c347a79c69e888b3eeba9e54b685cffc967b02 Mon Sep 17 00:00:00 2001 From: Asmageddon Date: Wed, 7 Mar 2012 19:55:34 +0100 Subject: [PATCH] Add proper support for double width characters to legacy mode and few related formatting functions --- deluge/ui/console/modes/format_utils.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/deluge/ui/console/modes/format_utils.py b/deluge/ui/console/modes/format_utils.py index 0d0a2255e..87c5a7e33 100644 --- a/deluge/ui/console/modes/format_utils.py +++ b/deluge/ui/console/modes/format_utils.py @@ -230,4 +230,4 @@ def pad_string(string, length, character=" ", side="right"): if side == "left": return "%s%s" % (character * diff, string) elif side == "right": - return "%s%s" % (string, character * diff) + return "%s%s" % (string, character * diff) \ No newline at end of file