from electrum.wallet import pw_decode
pw_decode( '', '' )
After doing this, remember to delete the command history from your electrum config file.
On Windows:
Go to C:\Users\\AppData\Roaming\Electrum and open up "config" file with a text editor.
Search for "pw_decode(" without quotes and you should find something that looks like the below...
...", u"pw_decode('', '')", u"...
Delete that from your config file so that the commands before and after are properly serapated by commas.
In the above example you want to delete the following:
, u"pw_decode('', '')"
Which will leave you with
...", u"...
the ... are the commands you performed before and after.
Then after you deleted, save the file.