fix undefined "key" in triax-tutorial/script-session1.py