cellarspoon
3 years ago
No known key found for this signature in database
GPG Key ID: 3789458B3D0C410
1 changed files with
2 additions and
2 deletions
-
app.py
|
|
@ -14,9 +14,9 @@ from wtforms import HiddenField, RadioField, StringField |
|
|
|
from wtforms.validators import DataRequired |
|
|
|
|
|
|
|
|
|
|
|
def rand(): |
|
|
|
def rand(length=30): |
|
|
|
"""Generated random secret.""" |
|
|
|
return "".join(random.choices(string.ascii_uppercase + string.digits, k=N)) |
|
|
|
return "".join(random.choices(string.ascii_uppercase + string.digits, k=length)) |
|
|
|
|
|
|
|
|
|
|
|
app = Flask(__name__) |
|
|
|