aboutsummaryrefslogtreecommitdiffstats
path: root/libbe
diff options
context:
space:
mode:
Diffstat (limited to 'libbe')
-rw-r--r--libbe/util/utility.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/libbe/util/utility.py b/libbe/util/utility.py
index 92ca0d5..c12e9a2 100644
--- a/libbe/util/utility.py
+++ b/libbe/util/utility.py
@@ -241,7 +241,7 @@ def underlined(string, char='='):
>>> underlined("Underlined String")
'Underlined String\\n================='
"""
- assert len(char) == 0, char
+ assert len(char) == 1, char
return '%s\n%s' % (string, char*len(string))
if libbe.TESTING == True: