from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:9332")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)

from jsonrpc import ServiceProxy
access = ServiceProxy("http://127.0.0.1:8145")
pwd = raw_input("Enter wallet passphrase: ")
access.walletpassphrase(pwd, 60)

Update walletunlock.py