We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent f220b9f commit 2352ffdCopy full SHA for 2352ffd
stdnum/ru/ogrn.py
@@ -54,7 +54,7 @@
54
55
def validate(text):
56
"""Determine if the given string is a valid OGRN."""
57
- if text[0] == "0":
+ if text[0] == '0':
58
raise InvalidComponent()
59
control_digit = int(text[-1])
60
if control_digit != calculate_control_digit(text):
0 commit comments