From 88faf014535a67967ed05b9bceaf6b07858d4ca2 Mon Sep 17 00:00:00 2001 From: Axyss <55812692+Axyss@users.noreply.github.com> Date: Thu, 9 Jul 2020 19:11:41 +0200 Subject: [PATCH] Update epic_mod.py --- AutomatiK files/epic_mod.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/AutomatiK files/epic_mod.py b/AutomatiK files/epic_mod.py index fedacb1..13640d7 100644 --- a/AutomatiK files/epic_mod.py +++ b/AutomatiK files/epic_mod.py @@ -74,7 +74,7 @@ def check_database(self): except sqlite3.OperationalError: # If that table name already exists. pass - cache = pointer.execute("SELECT NOMBRE FROM TABLA_1 WHERE ID > (SELECT MAX(ID) - 8 FROM TABLA_1)") + cache = pointer.execute("SELECT NOMBRE FROM TABLA_1 WHERE ID > (SELECT MAX(ID) - 5 FROM TABLA_1)") cache = cache.fetchall() cache2 = [] # Here the information from the query is cleaned.