diff --git a/python/pin.py b/python/pin.py index 438fe41..9a121bd 100755 --- a/python/pin.py +++ b/python/pin.py @@ -1,6 +1,6 @@ #!/usr/bin/env python -import sys import secrets +import sys try: wantedCount = int(sys.argv[1]) diff --git a/python/ssid-valid-len.py b/python/ssid-valid-len.py index 4ed8065..930ad86 100755 --- a/python/ssid-valid-len.py +++ b/python/ssid-valid-len.py @@ -1,16 +1,14 @@ #!/usr/bin/env python3 - """ This script asks for a SSID name, counts it and tells whether it's of valid 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" + or "test", ) # Ensure it's UTF-8 and store the size. E.g. åäö are longer than oao