forked from Dniel97/artemis
fix legacy upgrade script
This commit is contained in:
parent
ba7cb07208
commit
19fd008598
@ -172,7 +172,8 @@ class Data:
|
|||||||
return False
|
return False
|
||||||
|
|
||||||
db_vers = {}
|
db_vers = {}
|
||||||
for x in vers:
|
vers_list = vers.fetchall()
|
||||||
|
for x in vers_list:
|
||||||
db_vers[x['game']] = x['version']
|
db_vers[x['game']] = x['version']
|
||||||
|
|
||||||
core_now_ver = int(db_vers['CORE']) + 1
|
core_now_ver = int(db_vers['CORE']) + 1
|
||||||
|
Loading…
Reference in New Issue
Block a user