Update link.py

modify a little