Updated "restore" section of wanted.py

String concatenation was throwing an error because port had not been cast to a string.