Update baseclient.py

Fixed code bug with magic number.