simulator.py: fix regression
Merge branch 'master' of github.com:ucb-sts/sts