Contempt conviction upheld on appeal