Update webservice.py

Modified string formatting.