Commit 69682f07 authored by aknecht2's avatar aknecht2

Removed undefined reference to size.

parent 92d1d7cd
......@@ -219,7 +219,7 @@ class Stats:
if os.path.isfile(f):
conn = self._openConnection(f)
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:
self._addColumn(col, "images")
result = conn.execute("select pegasusid," + ",".join(cols) + " from images")
......
Markdown is supported
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