summaryrefslogtreecommitdiff
path: root/poezio/windows
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows')
-rw-r--r--poezio/windows/funcs.py2
1 files changed, 1 insertions, 1 deletions
diff --git a/poezio/windows/funcs.py b/poezio/windows/funcs.py
index f1401628..cc48ffab 100644
--- a/poezio/windows/funcs.py
+++ b/poezio/windows/funcs.py
@@ -35,7 +35,7 @@ def parse_attrs(text, previous=None):
if next_attr_char + 1 < len(text):
attr_char = text[next_attr_char+1].lower()
else:
- attr_char = str()
+ attr_char = '\0'
if attr_char == 'o':
attrs = []
elif attr_char == 'u':