Removed Redunant check for .py