generate key properly

This commit is contained in:
b1ek 2023-03-19 16:40:28 +10:00
parent 90b0d1ccef
commit d0e38ace0e
Signed by: blek
GPG Key ID: 14546221E3595D0C
1 changed files with 1 additions and 1 deletions

View File

@ -8,7 +8,7 @@ if (not os.path.exists('.env')):
print('No .env file found. Please create a dotenv to proceed.');
exit(-1);
key_bytes = secrets.token_bytes(32);
key_bytes = secrets.token_bytes(32 * 8);
dotenv_text = '';
with open('.env', 'tr', encoding='utf-8') as f: