Skip to content

Commit 7bf67f6

Browse files
authored
translated int to boolean
1 parent 87ba52f commit 7bf67f6

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

examples/two_factor_auth.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ def auth_handler():
88

99
# Код двухфакторной аутентификации
1010
key = input("Enter authentication code: ")
11-
# Если: 1 - сохранить, 0 - не сохранять.
12-
remember_device = 1
11+
# Если: True - сохранить, False - не сохранять.
12+
remember_device = True
1313

1414
return key, remember_device
1515

0 commit comments

Comments
 (0)