mirror of
https://github.com/SystemRage/py-kms.git
synced 2024-11-10 09:32:41 +08:00
Fix db connection reference
This commit is contained in:
parent
7e40ba63ff
commit
5441771843
1 changed files with 1 additions and 1 deletions
|
@ -75,7 +75,7 @@ def sql_update_epid(dbName, kmsRequest, response):
|
|||
cmid = str(kmsRequest['clientMachineId'].get())
|
||||
con = None
|
||||
try:
|
||||
con = sqlite3.connect(self.dbName)
|
||||
con = sqlite3.connect(dbName)
|
||||
cur = con.cursor()
|
||||
cur.execute("SELECT * FROM clients WHERE clientMachineId=?;", [cmid])
|
||||
try:
|
||||
|
|
Loading…
Reference in a new issue