Skip to content

Commit 9cec467

Browse files
author
Hugo Osvaldo Barrera
committed
Fix flake8 style violation
1 parent 43d0b93 commit 9cec467

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

totp/__init__.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ def get_length(pass_entry):
1717
"""Return the required token length."""
1818
for line in pass_entry:
1919
if line.lower().startswith('digits:'):
20-
return int(re.search('\d+', line).group())
20+
return int(re.search(r'\d+', line).group())
2121

2222
return 6
2323

0 commit comments

Comments
 (0)