Update ec.py

missing self reference causes ElectricCommander(server='ecommander.xx.com:1234') constructor to break when a server parameter is specified
Merge pull request #4 from ziddarth/patch-1

Yup, looks like a good change to me.