Browse Source

Missed a line.

tags/v1.0^2
Ben Kurtovic 10 years ago
parent
commit
b2d9ad5c97
1 changed files with 0 additions and 1 deletions
  1. +0
    -1
      bitshift/database/__init__.py

+ 0
- 1
bitshift/database/__init__.py View File

@@ -106,7 +106,6 @@ class Database(object):
for codelet_id in ids: for codelet_id in ids:
dict_cursor.execute(query, (codelet_id,)) dict_cursor.execute(query, (codelet_id,))
row = dict_cursor.fetchall()[0] row = dict_cursor.fetchall()[0]
codelet_id = row["codelet_id"]
if row["origin_url_base"]: if row["origin_url_base"]:
url = row["codelet_url"] url = row["codelet_url"]
else: else:


Loading…
Cancel
Save