diff options
author | Jesusaves <cpntb1@ymail.com> | 2022-08-06 16:48:36 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2022-08-06 16:48:36 -0300 |
commit | 395397bf5a3b3df3182c485e93c2193d5e22db52 (patch) | |
tree | cf5ea806e816b6d086c4d31b029325c76eeaf5b9 | |
parent | a262ece13e1bd6e16717d47a12b6a04329c53b6f (diff) | |
download | server-395397bf5a3b3df3182c485e93c2193d5e22db52.tar.gz server-395397bf5a3b3df3182c485e93c2193d5e22db52.tar.bz2 server-395397bf5a3b3df3182c485e93c2193d5e22db52.tar.xz server-395397bf5a3b3df3182c485e93c2193d5e22db52.zip |
Fix bug on password creation
-rw-r--r-- | sql.py | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -18,7 +18,7 @@ # SQL Module import mysql.connector import uuid, threading, json -from utils import dlist, Player, stdout, now +from utils import dlist, Player, stdout, now, create_password from consts import (SQL_NONE, SQL_DELAY, ERR_OK, ERR_ERR, ERR_BAD, MAX_PARTIES, SQL_PINGTIME) @@ -266,7 +266,7 @@ def add_player(xmail): # TODO: Handle possible collisions # The original string have 32 letters and we're using only 12 # Since 28-07-2022 we're using 16 letters from all alphabet - passwd=utils.create_password(16) + passwd=create_password(16) w = db.cursor() |