No city shall impose a license fee or tax, other than a fee or tax based on gross receipts, for the privilege of renting, leasing, or operating coin-operated vending machines, upon any individual or firm whose business is limited exclusively to renting, leasing, or operating such machines, which license fee or tax has the effect of taxing any gross receipts other than gross receipts which are dire