It is a line of one of Edgar Allan Poe's short stories, and it says:
We gave him a hearty welcome; for there was nearly half as much of the entertaining as of the contemptible about the man...
I don't understand the boldfaced part of the sentence. Does it mean the man was entertaining and despicable at the same time? If that is the case, what makes it confusing for me is that supposing that he was despicable, why did they give him a hearty welcome?