From c23a97e10dd193ac8848c8f63d74673665d42ab5 Mon Sep 17 00:00:00 2001 From: "Felipe S. Prado" Date: Wed, 24 Aug 2016 14:24:17 +0200 Subject: [PATCH] Small Fix --- DRAMSys/analyzer/scripts/plots.py | 1 - 1 file changed, 1 deletion(-) diff --git a/DRAMSys/analyzer/scripts/plots.py b/DRAMSys/analyzer/scripts/plots.py index 23dbb1b5..9c545adf 100755 --- a/DRAMSys/analyzer/scripts/plots.py +++ b/DRAMSys/analyzer/scripts/plots.py @@ -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)