From 9d2c422a6378fab75c7d9efe4313a70c8ada3def Mon Sep 17 00:00:00 2001 From: Aminda Suomalainen Date: Fri, 12 Jul 2024 10:34:18 +0300 Subject: [PATCH] python: fix a couple of pylint warnings --- python/keyoxide_gen_hashed_proof.py | 4 +++- python/ssid_check_valid_length.py | 3 ++- 2 files changed, 5 insertions(+), 2 deletions(-) diff --git a/python/keyoxide_gen_hashed_proof.py b/python/keyoxide_gen_hashed_proof.py index 69da6a8..d1c0059 100755 --- a/python/keyoxide_gen_hashed_proof.py +++ b/python/keyoxide_gen_hashed_proof.py @@ -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", +""", ) diff --git a/python/ssid_check_valid_length.py b/python/ssid_check_valid_length.py index f731b19..8254731 100755 --- a/python/ssid_check_valid_length.py +++ b/python/ssid_check_valid_length.py @@ -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", )