Closed lapineige closed 7 years ago
Fix the error (https://github.com/julienmalik/shaarli_ynh/issues/7):
TypeError: string indices must be integers Caused by print "{0}".format("\n".join(i["username"] for i in userlist)) userlist is a dictionary with {account :{dictionary of parameters}} so I use values() to return the dictionary of parameters.
print "{0}".format("\n".join(i["username"] for i in userlist))
userlist
Fix the error (https://github.com/julienmalik/shaarli_ynh/issues/7):