summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--sql.py4
1 files 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()