mirror of
https://gitea.blesmrt.net/mikaela/scripts.git
synced 2024-11-26 04:59:38 +01:00
python: apply the new hooks
This commit is contained in:
parent
1a58db1a6a
commit
b88027f81d
@ -1,6 +1,6 @@
|
||||
#!/usr/bin/env python
|
||||
import sys
|
||||
import secrets
|
||||
import sys
|
||||
|
||||
try:
|
||||
wantedCount = int(sys.argv[1])
|
||||
|
@ -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
|
||||
|
Loading…
Reference in New Issue
Block a user