Fixed python template file