Skip to content

Commit 11edfaf

Browse files
committed
Bug fix
1 parent 9617877 commit 11edfaf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

core/src/main/scripts/importUsers.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -339,7 +339,7 @@ def get_user_authorities(cursor, google_email):
339339
# recall each tuple in authorities table is ['EMAIL', 'AUTHORITY']
340340
# no tuple can contain nulls
341341
try:
342-
cursor.execute('select * from authorities where email = (%s)', google_email)
342+
cursor.execute('select * from authorities where email = (%s)', [google_email])
343343
for row in cursor.fetchall():
344344
to_return.append(row[1])
345345
except MySQLdb.Error, msg:

0 commit comments

Comments
 (0)