From 395397bf5a3b3df3182c485e93c2193d5e22db52 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 6 Aug 2022 16:48:36 -0300 Subject: Fix bug on password creation --- sql.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/sql.py b/sql.py index ac1b50a..9fb0968 100644 --- a/sql.py +++ b/sql.py @@ -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() -- cgit v1.2.3-70-g09d2