updating server module from pylint feedback