database = mongo_connect()
un = str(session['username'])
database.game.insert({'host': session['username'],
'player_list':[un]})
If i do this, then when I retrieve player_list, I get a list of unicodes. How can I make it so that I get a list of strings? Thanks
strs instead ofunicodes?