Small Fix

This commit is contained in:
Felipe S. Prado
2016-08-24 14:24:17 +02:00
parent 7b0fe3b5e0
commit c23a97e10d

View File

@@ -109,7 +109,6 @@ def power_window(connection, tracePath, steps):
maxTime = cursor.fetchone()[0]
cursor.execute("SELECT min(time) FROM Power")
windowSize = cursor.fetchone()[0]
cursor = connection.cursor()
cursor.execute(""" SELECT * FROM Power """)
time = [0] * (steps+1)
power = [0] * (steps+1)