Skip to content

Commit

Permalink
Bug fix
Browse files Browse the repository at this point in the history
  • Loading branch information
n1zea144 committed Jun 11, 2015
1 parent 9617877 commit 11edfaf
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion core/src/main/scripts/importUsers.py
Original file line number Diff line number Diff line change
Expand Up @@ -339,7 +339,7 @@ def get_user_authorities(cursor, google_email):
# recall each tuple in authorities table is ['EMAIL', 'AUTHORITY']
# no tuple can contain nulls
try:
cursor.execute('select * from authorities where email = (%s)', google_email)
cursor.execute('select * from authorities where email = (%s)', [google_email])
for row in cursor.fetchall():
to_return.append(row[1])
except MySQLdb.Error, msg:
Expand Down

0 comments on commit 11edfaf

Please sign in to comment.