Don't worry. It's just a false positive.
This always happens with Electrum files because they use PyInstaller to package their python apps, and some virus do that as well.
Shit antivirus says: if a virus does that, and this app also does that, then this must be a virus!