We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 9617877 commit 11edfafCopy full SHA for 11edfaf
core/src/main/scripts/importUsers.py
@@ -339,7 +339,7 @@ def get_user_authorities(cursor, google_email):
339
# recall each tuple in authorities table is ['EMAIL', 'AUTHORITY']
340
# no tuple can contain nulls
341
try:
342
- cursor.execute('select * from authorities where email = (%s)', google_email)
+ cursor.execute('select * from authorities where email = (%s)', [google_email])
343
for row in cursor.fetchall():
344
to_return.append(row[1])
345
except MySQLdb.Error, msg:
0 commit comments