fix type check for port (basestring)
1 file changed