A conveyance of real estate or of any interest therein by a landlord shall be valid without the attornment of the tenant; but the payment of rent by the tenant to the grantor at any time before notice of sale given to said tenant shall be good against the grantee.
K.S.A. 58-2513