mirror of
https://github.com/jrnl-org/jrnl.git
synced 2025-05-17 03:28:31 +02:00
Change case of local variable to lower
This commit is contained in:
parent
3d295149d8
commit
290adf27c5
1 changed files with 2 additions and 2 deletions
|
@ -231,9 +231,9 @@ def mock_user_input(request, password_input, stdin_input):
|
|||
return password_input
|
||||
|
||||
if isinstance(user_input, Iterable):
|
||||
Input_line = next(user_input)
|
||||
input_line = next(user_input)
|
||||
# A raw newline is used to indicate deliberate empty input
|
||||
return "" if Input_line == r"\n" else Input_line
|
||||
return "" if input_line == r"\n" else input_line
|
||||
|
||||
# exceptions
|
||||
return user_input if not kwargs["password"] else password_input
|
||||
|
|
Loading…
Add table
Reference in a new issue