summaryrefslogtreecommitdiff
path: root/poezio/theming.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/theming.py')
-rwxr-xr-xpoezio/theming.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/theming.py b/poezio/theming.py
index 5d263741..b420c233 100755
--- a/poezio/theming.py
+++ b/poezio/theming.py
@@ -400,7 +400,7 @@ def read_tuple(_str):
Read a tuple dumped with dump_tumple
"""
attrs = _str.split(',')
- char = attrs[2] if len(attrs) > 2 else None
+ char = attrs[2] if len(attrs) > 2 else '\0'
return (int(attrs[0]), int(attrs[1])), char
def to_curses_attr(color_tuple):