From 19fd008598ab632cd7a047130e7803c8dd5a292e Mon Sep 17 00:00:00 2001 From: Kevin Trocolli Date: Thu, 11 Jan 2024 20:39:29 -0500 Subject: [PATCH] fix legacy upgrade script --- core/data/database.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/core/data/database.py b/core/data/database.py index 38a9b1f..b259b2b 100644 --- a/core/data/database.py +++ b/core/data/database.py @@ -172,7 +172,8 @@ class Data: return False db_vers = {} - for x in vers: + vers_list = vers.fetchall() + for x in vers_list: db_vers[x['game']] = x['version'] core_now_ver = int(db_vers['CORE']) + 1