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.