Is a bit hard to give EXACT instructions without really seeing the thing.
But if I'm not mistaken entirely, it's pretty easy.
Should just be 2 pins, right?
So basically, if you manage to buy a connector, i mean, just the plug thingy, (in case you cannot reuse the old one), its just a bit of soldering and isolating properly.
I REALLY suck at anything electronics, but I managed to repair power cables for all kinds of home appliances so far. All you need is a bit of common sense and the proper tools.
Worst case tools you can use: sharpish knife and some tape.
Best case tools: proper wire cutters, soldering station and and some heat shrink tubes.
General instructions:
1 ) get the thing OFF the power. Duh.
2 ) wait a few, so the thing really is empty.
3 ) cut the cable a bit shorter, to a point you know its not broken.
4 ) remove isolation
5 ) prepare shrink tubes, put em over the according wires
6 ) solder wires back on to connector
7 ) slide heat shrink tubes in place
8 ) heat up the heat shrink tubes to restore isolation
9 ) ? ? ? ? ?
10 ) profit
optionally, 8b) steal undergarments
however, without inspecting the cable itself its hardish to tell whether or not this particular one can be fixed without soldering. If the wires consist of a lot of braids (correct word?) its usually easy to put em back together without.