diff options
Diffstat (limited to 'server/modules/client.py')
-rw-r--r-- | server/modules/client.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/server/modules/client.py b/server/modules/client.py index 849cbd4..8023e89 100644 --- a/server/modules/client.py +++ b/server/modules/client.py @@ -42,7 +42,7 @@ def add_client(client_digest,certbuf,client_info): try: # Add the client into the gacl AXO table db.conn.Execute('LOCK TABLES `gacl_axo_seq` WRITE'); - # wee add one to get the next valid free id + # we add one to get the next valid free id id = db.conn.GetRow('SELECT id FROM `gacl_axo_seq`')[0] + 1; result = db.conn.Execute('UPDATE `gacl_axo_seq` SET id=%s', id); db.conn.Execute('UNLOCK TABLES'); |