mirror of
https://github.com/SystemRage/py-kms.git
synced 2024-11-22 08:15:38 +01:00
Fix db connection reference
This commit is contained in:
parent
7e40ba63ff
commit
5441771843
@ -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 New Issue
Block a user