Update socode.py
Merge pull request #261 from rawdreeg/patch-1

Update socode.py