def ms_to_s(time):
if time is None:<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>if time >= (<NUM_LIT:2>**<NUM_LIT:32> - <NUM_LIT:1>):<EOL><INDENT>return <NUM_LIT:0><EOL><DEDENT>return round(time / <NUM_LIT>)<EOL>
Convert time in ms to seconds.