resource.py should not be changed at all so undo all changes to this file.