Except as otherwise provided by statute, the punishment of commitment for contempt provided in section 4132 (relating to attachment and summary punishment for contempts) shall extend only to contempts committed in open court. All other contempts shall be punished by fine only.
42 Pa.C.S. § 4133