Update renren.py

fixing bugs