def convert_time(self, time):
time_string = str(datetime.timedelta(seconds=int(time)))<EOL>if time_string.split('<STR_LIT::>')[<NUM_LIT:0>] == '<STR_LIT:0>':<EOL><INDENT>time_string = time_string.partition('<STR_LIT::>')[<NUM_LIT:2>]<EOL><DEDENT>return time_string<EOL>
A helper function to convert seconds into hh:mm:ss for better
readability.

time: A string representing time in seconds.