python: fix a couple of pylint warnings

This commit is contained in:
Aminda Suomalainen 2024-07-12 10:34:18 +03:00
parent 5674d0f641
commit 9d2c422a63
Signed by: Mikaela
SSH Key Fingerprint: SHA256:CXLULpqNBdUKB6E6fLA1b/4SzG0HvKD19PbIePU175Q
2 changed files with 5 additions and 2 deletions

View File

@ -6,7 +6,9 @@ This script generated Keyoxide hashed proofs in argon2id and bcrypt
PROOF = str(input("Enter the proof: "))
print(
"$argon2id$v=19$m=64,t=512,p=2$mDejbh8SmFFJPjbjf+u9kQ$yQpomARjYKfgEDAZ1jdgnA",
"""
$argon2id$v=19$m=64,t=512,p=2$mDejbh8SmFFJPjbjf+u9kQ$yQpomARjYKfgEDAZ1jdgnA",
""",
)

View File

@ -25,7 +25,8 @@ def check_ssid_length(given_ssid_length):
# Request input or assume "test" on empty.
GIVENSSID = str(
input(
"Please enter the SSID you are thinking of (preferably 26 chars to fit _nomap): ",
"Please enter the SSID you are thinking of (preferably 26 chars to \
fit _nomap): ",
)
or "test",
)