Update resources.py

Thanks @msherry