Update emr.py

subnet hack