diff --git a/lib/tracknodes/tracknodes.py b/lib/tracknodes/tracknodes.py index d0bdc0b..2be3238 100644 --- a/lib/tracknodes/tracknodes.py +++ b/lib/tracknodes/tracknodes.py @@ -76,7 +76,7 @@ def online_nodes(self): onlinenodes.append(lx) for node in onlinenodes: - self.cur.execute("INSERT INTO NodeStates VALUES(?, ?, ?, datetime('now'))", (node[0], 0, node[2])) + self.cur.execute("INSERT INTO NodeStates VALUES(?, ?, ?, datetime('now'))", (node[0], 0, '')) self.cur.execute("DELETE FROM CurrentFailedNodes WHERE Name LIKE ?", (node[0],)) self.con.commit()