Update sdide.py

Fixed minor bug.