If you're going to sell it one way or the other, then sell it before repairs. Repairs are going to add to your cost of the machine, and depending on what you paid for it, could add up to more than what it's worth.
If you're looking for a great little straight stitching machine that you're not interested in selling, then by all means, have it fixed!