Skip to content

Commit

Permalink
Update b2sdk/utils/wildcards.py
Browse files Browse the repository at this point in the history
Co-authored-by: Paweł Polewicz <p.polewicz@gmail.com>
  • Loading branch information
jsuchan-reef and ppolewicz committed Aug 15, 2023
1 parent 69b1232 commit 90c0807
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion b2sdk/utils/wildcards.py
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,8 @@ def _find_unescaped_char(
folder_to_list: str, wildcard_character: str, offset: int = 0
) -> int | None:
"""Find the first occurrence of a character in a string, ignoring escaped characters.
Raise ValueError if no unescaped character is found.
:raises ValueError: no unescaped character is found
"""
max_index = len(folder_to_list)
while offset < max_index:
Expand Down

0 comments on commit 90c0807

Please sign in to comment.