making lint happy, running make test-python doesn't run lint
This commit is contained in:
parent
21e9a4508d
commit
1632b4b078
|
@ -14,7 +14,7 @@ def get_random_secret(length):
|
|||
secret_key = ''.join(random.choice(string.ascii_uppercase) for x in range(round(length / 4)))
|
||||
secret_key = secret_key + ''.join(random.choice("~!@#$%^&*()_+") for x in range(round(length / 4)))
|
||||
secret_key = secret_key + ''.join(random.choice(string.ascii_lowercase) for x in range(round(length / 4)))
|
||||
return secret_key + ''.join(random.choice(string.digits) for x in range(round(length/4)))
|
||||
return secret_key + ''.join(random.choice(string.digits) for x in range(round(length / 4))) soi
|
||||
|
||||
|
||||
SECRET_KEY = repr(os.environ.get('SECRET_KEY', get_random_secret(32).encode('utf8')))
|
||||
|
|
|
@ -1,9 +1,9 @@
|
|||
# This is just Python which means you can inherit and tweak settings
|
||||
|
||||
import base64
|
||||
import os
|
||||
import random
|
||||
import string
|
||||
import base64
|
||||
|
||||
_basedir = os.path.abspath(os.path.dirname(__file__))
|
||||
|
||||
|
|
Loading…
Reference in New Issue