Personally I think Hillary was going to lose anyway but I like to think that muzzy Huma and her scuzzy husband had a lot to do with the final outcome. It must torment Hillary, who took Huma in and treated her like family. When Trump recited The Snake poem on the campaign trail, the Weiners come to mind.
As far as I can tell, Hillary treated Huma like family in the same way that Bill treated Monica like family - some work and some more personal service, but no real feelings.