Tin pot god

I was watching the Granada Television series of Doyle's Sherlock Holmes, and Dr. Watson used a phrase I would like to know more about. He referred to a person as a "tin-pot/tin pot(?) god." I think I understand the meaning as to someone who thinks they are bigger than they really are, but why put a god in a tin pot?

Replies