Section 366(2) in The Code of Criminal Procedure, 1989 (1933 A. D.)
(2)The accused shall, if in custody, be brought up, or, if not in custody, be required by the Court to attend, to hear judgment delivered, except where his personal attendance during the trial has been dispensed with and the sentence is one of fine only or he is acquitted, in either of which cases it may be delivered in the presence of his pleader.