summaryrefslogtreecommitdiff
path: root/poezio/windows/funcs.py
diff options
context:
space:
mode:
Diffstat (limited to 'poezio/windows/funcs.py')
-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 d118f353..69edace2 100644
--- a/poezio/windows/funcs.py
+++ b/poezio/windows/funcs.py
@@ -10,7 +10,7 @@ DIGITS = string.digits + '-'
def find_first_format_char(text: str,
- chars: Optional[List[str]] = None) -> int:
+ chars: str = None) -> int:
to_find = chars or format_chars
pos = -1
for char in to_find: