Skip to content
Snippets Groups Projects
Commit 49fccb3d authored by Brian Moe's avatar Brian Moe
Browse files

misc hackerage

parent cde8474c
No related branches found
No related tags found
No related merge requests found
......@@ -35,6 +35,8 @@ def source(request):
tqx = request.GET.get('tqx',"")
atypes = ["OM", "LM"]
atypes = [shortname for (shortname, _) in Event.ANALYSIS_TYPE_CHOICES]
description = [ ("Year", "string"), ]
buffy = []
......@@ -49,7 +51,8 @@ def source(request):
cursor.execute(q, [t])
d = {}
for row in cursor.fetchall():
d[str(row[0])] = int(row[1])
n = int(row[1])
d[str(row[0])] = n
dates.update([row[0]])
buffy.append(row)
things[t] = d
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment