Skip to content

Commit 3f03855

Browse files
smaye81pkwarren
andauthored
Update protovalidate/internal/extra_func.py
Co-authored-by: Philip K. Warren <[email protected]>
1 parent 9b4e69c commit 3f03855

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

protovalidate/internal/extra_func.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -788,7 +788,7 @@ def __hex_dig(self) -> bool:
788788

789789
c = self._string[self._index]
790790

791-
if ("0" <= c <= "9") or ("a" <= c <= "f") or ("A" <= c <= "F") or ("0" <= c <= "9"):
791+
if ("0" <= c <= "9") or ("a" <= c <= "f") or ("A" <= c <= "F"):
792792
self._index += 1
793793

794794
return True

0 commit comments

Comments
 (0)