def getsongother(): otherUser = request.args.get("otherUser", "").strip() return json.dumps(util.getSong(otherUser))
def getsong(): username = session["user"] print "username: " + username return json.dumps(util.getSong(username))