diff options
Diffstat (limited to 'gajim/common/styling.py')
-rw-r--r-- | gajim/common/styling.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gajim/common/styling.py b/gajim/common/styling.py index 1731cbb63..bfe828caf 100644 --- a/gajim/common/styling.py +++ b/gajim/common/styling.py @@ -185,7 +185,7 @@ def find_byte_index(text: str, index: int): if index == index_: return byte_index - raise ValueError('index not in string: %s, %s' % (text, index)) + raise ValueError(f'index not in string: {text}, {index}') def process(text: str | bytes, level: int = 0) -> ParsingResult: |