Commit 69682f07 authored by aknecht2's avatar aknecht2
Browse files

Removed undefined reference to size.

parent 92d1d7cd
...@@ -219,7 +219,7 @@ class Stats: ...@@ -219,7 +219,7 @@ class Stats:
if os.path.isfile(f): if os.path.isfile(f):
conn = self._openConnection(f) conn = self._openConnection(f)
headers = self._getHeaders("images", conn) headers = self._getHeaders("images", conn)
for cols in (headers[pos:pos + size] for pos in xrange(0, len(headers), 500)): for cols in (headers[pos:pos + 500] for pos in xrange(0, len(headers), 500)):
for col in cols: for col in cols:
self._addColumn(col, "images") self._addColumn(col, "images")
result = conn.execute("select pegasusid," + ",".join(cols) + " from images") result = conn.execute("select pegasusid," + ",".join(cols) + " from images")
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment