Update libqq.py