1
0
mirror of https://github.com/SystemRage/py-kms.git synced 2025-09-23 04:19:34 +08:00

Fix db connection reference

This commit is contained in:
speedst3r
2019-05-19 15:58:37 +08:00
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: