Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- username = request.form['user']
- print username
- user = db_interaction.get_user_info(username)
- f = ["a","b", "c", "d"]
- i = 0
- for field in user:
- print field
- #f[i] = ''.join(field)
- f[i] = str(field)
- print str(field) + " --- " + str(f[i])
- i = i+1
- notif = Notification()
- uid=str(db_interaction.get_user_id(username))
- d=uid.replace('(', '')
- i=d.replace(')', '')
- id=i.replace(',', '')
- link = notif.get_subscribe_link(id)
- session['user'] = username
- session['password'] = f[1]
- session['email'] = f[2]
- session['id'] = f[3]
- session['link'] = link
- return render_template('personal.html', user=username, password=f[1], email=f[2], id=f[3], link=link)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement