Update ec.py

missing self reference causes ElectricCommander(server='ecommander.xx.com:1234') constructor to break when a server parameter is specified