Fix bad list conversion.

This commit is contained in:
Fabien Boucher 2013-03-29 16:49:09 +01:00
parent 28aee22766
commit f5800ee31a
1 changed files with 1 additions and 1 deletions

View File

@ -138,7 +138,7 @@ def delete_account_content(acc, user):
def delete_account(client, user_id, acc):
account_id = acc[1]
if not isinstance(user_id, list):
user_id = (user_id)
user_id = (user_id,)
for uid in user_id:
print "Delete user with id : %s" % uid
client.users.delete(uid)